Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

rubocop didn't run correctly (executable name wrong) in rubymine #42

Closed
ghprince opened this issue Mar 17, 2016 · 1 comment
Closed

Comments

@ghprince
Copy link

My issue is similar but different with #34 and #30

Rubymine 8.0.3
rbenv 1.0.0
ruby 2.3.0
rubocop 0.38.0
rubocop-for-rubymine 3.1.0

This error shows up in Rubymine

15:37:44 Failed to parse RuboCop output: Please make sure that:you installed RuboCop for this Ruby versionyou did run bundle install successfully (if you use Bundler)your RuboCop version isn't ancient (show balloon)

In ideas.log

2016-03-17 15:37:44,244 [  16175]  DEBUG - hub.sirlantis.rubymine.rubocop - Executing RuboCop (SDK=/Users/gogao/.rbenv/versions/2.3.0/bin)/Users/gogao/.rbenv/shims/ruby --format json /Users/gogao/Developer/rails/my_app/app/models/server_instance.rb
2016-03-17 15:37:44,244 [  16175]   INFO - .ruby.ruby.run.RubyCommandLine - Executing [/Users/gogao/.rbenv/shims/ruby --format json /Users/gogao/Developer/rails/my_app/app/models/server_instance.rb], working dir =[/Users/gogao/Developer/rails/my_app]
2016-03-17 15:37:44,296 [  16227]   WARN - hub.sirlantis.rubymine.rubocop - Failed to parse RuboCop output

you can see in the log that it is trying to exec /Users/gogao/.rbenv/shims/ruby --format json instead of /Users/gogao/.rbenv/shims/rubocop --format json

Any reason why?

@ghprince
Copy link
Author

duplicates of #40

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant