yujinakayama / atom-lint

Obsolete: Generic code linting support for Atom
https://atom.io/packages/atom-lint
MIT License
111 stars 33 forks source link

rubocop needs to be available in default/global ruby if using a ruby version manager #32

Closed mscottford closed 10 years ago

mscottford commented 10 years ago

I'm not sure the best way to note this in the readme, or I would have submitted a pull request.

I'm using rbenv and I was confused about why RuboCop was detected as installed after I installed the gem, but no violations were showing up in the editor.

The issue turned out to be that I had installed the rubocop gem in the non-default ruby. The fix was to install rubocop in the global ruby. No everything works great!

yujinakayama commented 10 years ago

I'm a bit confused about the title and your comment. You mean the fact (not a problem) “rubocop needs to be available in default/global ruby if using a ruby version manager” should be described in the README?

mscottford commented 10 years ago

Sorry to be unclear. Yes, I think it would be helpful for the README to be updated with that information. Thanks!

yujinakayama commented 10 years ago

Thanks for the suggestion!