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