SublimeLinter / SublimeLinter-rubocop

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

Use RubyLinter as superclass for Rubocop #14

Closed jawshooah closed 9 years ago

reconbot commented 9 years ago

What does this do?

jawshooah commented 9 years ago

Several things. Check out the docs.

In short, it allows the use of rbenv and rvm and provides the correct comment_re for Ruby.

reconbot commented 9 years ago

It doesn't seem to work for rvm with a gemset however it's very close. When it RubyLinter detects the rubocop gem it may not may not exist for the system gemset. If you ask the ruby to find the gem it's golden.

I've got #16 out there with my changes. Can you check it out on your setup and if it works, I'll merge and release a new version. What is your setup btw?

Thanks!

jawshooah commented 9 years ago

16 works fine for me, thanks!