Conversation
… with the ruby version configured in the vscode ruby extension
|
Interesting, I use rbenv and I haven't noticed any problems like this. I was under the impression it would just use whatever was set for the given repository (either via I believe you might be confusing the |
|
|
|
|
This is a first draft for a fix.
I ran into trouble with ruby test adapter using the wrong ruby version.
which version should it be using?
ruby.interpreter.commandPaththis patch manipulates the environment variables PATH, GEM_PATH and GEM_HOME:
it replaces the ruby-version used there with the version from vs code
ruby.interpreter.commandPathonly tested on macos, one rails project with minitest, ruby 2.6.6
this is not ready to be merged!
I hope to spark a discussion of how to fix this problem properly