SublimeLinter / SublimeLinter-rubocop

SublimeLinter 3 plugin for Ruby, using rubocop.
MIT License
159 stars 40 forks source link

No lint errors. #2

Closed transat closed 10 years ago

transat commented 10 years ago

Couldn't get this package working (it installed fine but doesn't seem to find any errors) so I installed the other sublimelinter ruby package and that one works fine for me. Does rubocop do things differently to 'ruby -wc'? Can this plugin live alongside and add to the other ruby linter or should i just stick with the one? Cheers.

aparajita commented 10 years ago

There is a README for the rubocop linter with complete installation instructions. There is a rather lengthy troubleshooting guide in the SublimeLinter docs. When I'm sure you have gone through the steps in those, then maybe I can help you.

transat commented 10 years ago

Thanks. I' pretty new at all of this. I've followed the instructions in the readme. The rubocop command is working fine from the command line. It's installed in /Users/xxxx/.rvm/rubies/ruby-2.0.0-p353/bin/rubocop as is the ruby command. While the ruby linter works, the rubcop linter appears to work in the console but not usually on the selected file and when it does, it's only after a LONG delay and seems a bit random. My path seems fine when i do echo $PATH but most variables are doubled up when i type "$SHELL -l -c 'echo $PATH | tr : "\n"'". I'm not sure where to go from here!

aparajita commented 10 years ago

I need to see console output, specifically the PATH SublimeLinter reports and the output when linting with rubocop.

aparajita commented 10 years ago

Last chance to comment before I close this.