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

Plugin runs ruby instead of rubocop command #40

@m-koepke

Description

@m-koepke

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:

2016-02-24 13:43:11,227 [  10713]   INFO - .ruby.ruby.run.RubyCommandLine - Executing [/Users/mivl/.rbenv/shims/ruby --format json /Users/mivl/work/projects/rails/ohl/ikos_api/spec/models/ops/nachlieferung/order_dispatcher_spec.rb], working dir =[/Users/mivl/work/projects/rails/ohl/ikos_api]
2016-02-24 13:43:11,299 [  10785]   WARN - hub.sirlantis.rubymine.rubocop - Failed to parse RuboCop output

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions