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
what happens
If I misconfigure my rubocop.yml and save a ruby file to trigger linting, vscode-rubocop shows some random rubocop path /Users/augusts/.rvm/gems/ruby-2.3.4/bin/rubocop in the warning message.
I don't think I have Ruby 2.3.4 installed, though maybe it's some system version.
what I expected to happen
vscode-rubocop should report the actual rubocop path used, which is /Users/augusts/.rvm/gems/ruby-2.7.1/bin/rubocop, since I have "ruby.rubocop.executePath": "/Users/augusts/.rvm/gems/ruby-2.7.1/bin/" in settings.
what happens

If I misconfigure my rubocop.yml and save a ruby file to trigger linting, vscode-rubocop shows some random rubocop path
/Users/augusts/.rvm/gems/ruby-2.3.4/bin/rubocop
in the warning message.I don't think I have Ruby 2.3.4 installed, though maybe it's some system version.
what I expected to happen
vscode-rubocop should report the actual rubocop path used, which is
/Users/augusts/.rvm/gems/ruby-2.7.1/bin/rubocop
, since I have"ruby.rubocop.executePath": "/Users/augusts/.rvm/gems/ruby-2.7.1/bin/"
in settings.env
macOS Catalina 10.15.7
vscode-ruby-rubocop v0.8.5
The text was updated successfully, but these errors were encountered: