misogi / vscode-ruby-rubocop

Rubocop extension for Visual Studio Code
https://marketplace.visualstudio.com/items/misogi.ruby-rubocop
MIT License
137 stars 68 forks source link

execute path is empty #75

Open renatojf opened 6 years ago

renatojf commented 6 years ago

I have multiple projects, each one running different rubocop versions and yml configuration files, but the plugin is failing to load the correct one from the $PATH.

If I do which rubocop on each project, I can see it loaded in there, but the plugin fails to recognize it. I cannot explicitly set the path to one of the executables, as the other projects runs different versions.

Any ideas on what am I doing wrong?

davidwparker commented 6 years ago

I'm also having this issue.

dannysteenman commented 6 years ago

Same issue here, running rubocop within the terminal is fine but when I execute it through the plugin I get the following error: command 'ruby.rubocopAutocorrect' not found

jmadkins commented 5 years ago

Not sure what I'm doing wrong here either. Works on one machine and doesn't work on another.