danhuynhdev/sorbet-lsp

RVM gemsets don't work

Opened this issue · 3 comments

It doesn't work as long as I use some given gemset. Once I switch to default one, all seems to be working. Can anyone have a look at that? Thanks

image

I feel like I've got a similar problem. Every time I start the extension up I get the following error output:

/bin/bash: srb: command not found
[Info  - 9:33:39 AM] Connection to server got closed. Server will restart.
/bin/bash: srb: command not found
[Info  - 9:33:39 AM] Connection to server got closed. Server will restart.
/bin/bash: srb: command not found
[Info  - 9:33:39 AM] Connection to server got closed. Server will restart.
/bin/bash: srb: command not found
[Info  - 9:33:39 AM] Connection to server got closed. Server will restart.
/bin/bash: srb: command not found
[Error - 9:33:40 AM] Connection to server got closed. Server will not be restarted.

VS Code doesn't seem to play well with RVM - other extensions are also coughing up I think for the same reason

try ticking Use Bundler and making sure bundle exec srb tc is working fine on VSCode's terminal

For anyone else having the same problem, switching from RVM to rbenv solved this whole thing for me in one simple fell swoop that didn't require any fumbling with VSCode