Open m-koepke opened 8 years ago
I have the same issue but with IntelliJ Idea (with ruby plugin).
IntelliJ Idea: 15.0.2 Ruby Plugin: 0.8.3 Rubocop Plugin: 3.1.0 rubocop: 0.37.2 ruby: 2.1.5
Rest of the setup is same as @mvladimirovic.
Following is the debug log (if it helps)
2016-02-23 20:30:05,110 [6974663] WARN - hub.sirlantis.rubymine.rubocop - RuboCop exited with 1
2016-02-23 20:30:14,120 [6983673] DEBUG - hub.sirlantis.rubymine.rubocop - Executing RuboCop (SDK=/Users/chetanv/.rbenv/versions/2.1.5/bin)/Users/chetanv/.rbenv/shims/ruby --format json /Users/chetanv/projects/my_project/some_file.rb
2016-02-23 20:30:14,120 [6983673] INFO - .ruby.ruby.run.RubyCommandLine - Executing [/Users/chetanv/.rbenv/shims/ruby --format json /Users/chetanv/projects/my_project/some_file.rb], working dir =[/Users/chetanv/projects/my_project]
2016-02-23 20:30:14,187 [6983740] WARN - hub.sirlantis.rubymine.rubocop - Failed to parse RuboCop output
java.io.EOFException: End of input at line 1 column 1
Rest of the log has stack trace for not being able to read the json output because it's empty.
@mvladimirovic, would it be possible for you to share the plugin zip that you have compiled. Ta.
+1 same issue here
same issue, any work arounds?
Hi,
I recently got a new mac and installed RubyMine and the rubocop-for-rubymine plugin. I am using rbenv without gemsets.
RubyMine 8 and 8.5 EAP rubocop plugin 3.1
Now RubyMine is unable to run. It seems it is not picking up the rubocop command correctly but instead runs ruby. From the log:
As I was unable to get any documentation of the RubyMine or IntelliJ IDEA, I wasn't really able to figure out why it would run ruby instead of rubocop for me. I basically reverted to a previous version and applied some kotlin changes: changeset This works for me (again: rbenv without gemsets) but obviously is some custom code that was removed before to improve handling of bundler and stuff.