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

cannot load such file -- outrigger/cops/migration/tagged #58

Open theqa-ninja opened 6 years ago

theqa-ninja commented 6 years ago

Mac OSX 10.12.6 VS Code: Version 1.17.1

I installed rubocop via the gem install rubocop already on file saves, it looks like rubocop tries to run, but it throws the error "cannot load such file -- outrigger/cops/migration/tagged"

I checked and that is inside my .rubocop.yml file as require:

sorry, that's all I got, not sure how to figure out where it's trying to find this file :(

damien commented 6 years ago

This'll always be relative to the root of the workspace (the directory you open in VSCode). It's likely an issue with your rubocop configuration--I'd double check that you can run rubocop on the same directory (without VSCode). Odds are you'll see the same error until you update your rubocop config.