-
Notifications
You must be signed in to change notification settings - Fork 286
Language server crash on startup #433
Comments
It looks like your default shell is set to bash but it isn't available in your path? |
I think that this is because the command If i modify the shell script like this the error disappears:
but a new error shows up:
Edit: changed the command, not quite sure it works this way. |
Hmm, ok I'll need to look at how to make that more cross-platform. That file is generated based on the login shell so it'll need to also work with ZSH and such The |
I did a few searches, but didn't found out a way to do this in a portable way (for example, using Regarding the error, maybe it's just a different error, probably the |
Ya, that solution took me awhile. What I may end up doing is writing different environment loading templates for different platforms. I'll take a look at fixing this tonight. I've got a couple other bugs I need to address. |
I have the same problem on Ubuntu 18.04.
it would not fail and server would start as usual. |
Yep, it'll get fixed |
@klyonov maybe I'm wrong, but if you remove the shebang in that way, the script will have a different behaviour: the two lines |
Yes it is. Like I said, I'm going to need to figure out how to do it in a better cross-platform way. |
@meddario thanks, I had a lot of new readings because of your comment. Now I know a little more about shebang etc.
|
In my case the language server initialization fails with another reason:
Please, let me know in any other details are required. |
@soulim that is a different issue than this one. Looks related to @meddario @klyonov can you both try |
@wingrunr21 working perfectly for me now! Thanks! |
Your environment
Actual behaviorAfter updated to 0.22.2, Got error like this:
|
@clxy Please open a new issue with this information! I need more information on how Windows users have their environments set up! Specifically, I would like to know:
|
I am going to close this issue as I believe the problem for the Linux users is resolved. |
@wingrunr21 |
@wingrunr21 it's OK now, thanks a lot! |
@wingrunr21 thank you a lot! |
Your environment
vscode-ruby
version: 0.22.0ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
Expected behavior
Working language server
Actual behavior
The language server crashes with this error message (happens only if i enable the languageserver feature).
The text was updated successfully, but these errors were encountered: