You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using the Ruby LSP vscode extension for about a year without any issues.
Today I started seeing the error message below when I launch vscode. I'm launching vscode from the terminal with the code . command.
Failed to activate rvm environment: Command failed: /home/onwardmk/.rvm/bin/rvm-auto-ruby -W0 -rjson -e 'STDERR.print({yjit:!!defined?(RubyVM::YJIT),version:RUBY_VERSION,home:Gem.user_dir,default:Gem.default_dir,ruby:RbConfig.ruby}.to_json)' /bin/sh: 1: /home/onwardmk/.rvm/bin/rvm-auto-ruby: not found
Based on the error message, the problem appears to be that it's looking for rvm in my home folder, but rvm is installed in /usr/share/rvm on my machine. I don't see a vscode setting to specify the path.
Description
I've been using the Ruby LSP vscode extension for about a year without any issues.
Today I started seeing the error message below when I launch vscode. I'm launching vscode from the terminal with the
code .
command.Based on the error message, the problem appears to be that it's looking for rvm in my home folder, but rvm is installed in
/usr/share/rvm
on my machine. I don't see a vscode setting to specify the path.vscode version: 1.87.2
Ruby LSP version: v0.5.16
rvm version: 1.29.12
The text was updated successfully, but these errors were encountered: