Fix the error bundle not found error
or something similar. This happens when the rubocop VSCode extension is set to execute using bundle exec
.
Open this file:
~/.vscode/extensions/misogi.ruby-rubocop-0.8.6/out/src/configuration.js
Modify the part that says bundle exec
, and replace bundle
by another command like:
~/.rbenv/shims/bundle
It may be necessary to test a few different paths, for example if more than one installation exists.
Then restart VSCode.