Closed DanielHeath closed 9 years ago
This isn't a bad idea
What if bundler isn't installed?
I'm looking for a ruby programmer to take responsibility (maintenance and support) for this plugin. I don't use ruby, so I won't take any responsibility for changes such as this.
Well bundler is getting integrated into ruby. It's rare that it isn't being used but we can check for it.
You can override the cmd
method and check for the presence of bundler using util.which
, then build the command to execute accordingly.
I'd be very happy if one or more of you would take over, I'll be happy to make you collaborators on the repo.
I'm happy to help. On Aug 15, 2014 7:22 PM, "Aparajita Fishman" notifications@github.com wrote:
You can override the cmd method and check for the presence of bundler using util.which, then build the command to execute accordingly.
I'd be very happy if one or more of you would take over, I'll be happy to make you collaborators on the repo.
— Reply to this email directly or view it on GitHub https://github.com/SublimeLinter/SublimeLinter-rubocop/pull/9#issuecomment-52372886 .
@reconbot Hallelujah! I sent you an invite to become a collab.
This has been open for far too long. We've got another issue (with RVM) that's related and I'm working on a fix.
@DanielHeath can you try with the latest version? If your rvm or chruby is working you might not need bundler. We just covered a few more use cases with our latest version. I'm going to close this due to age, but please reopen if it's not working for you.
Using bundler means you run the version of rubocop specified in your Gemfile.
It also avoids an error I was getting where rubocop-rspec wasn't installed globally.