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

Failed to run RuboCop command #45

Open
jvenezia opened this issue Jun 27, 2016 · 5 comments
Open

Failed to run RuboCop command #45

jvenezia opened this issue Jun 27, 2016 · 5 comments

Comments

@jvenezia
Copy link

I have this error message when Rubymine starts:

Failed to run RuboCop command - is it installed? (SDK=/Users/jeremyvenezia/.rvm/rubies/ruby-2.3.1/bin): Cannot run program "rubocop" (in directory "/Users/jeremyvenezia/workspace/lab/elcurator"): error=2, No such file or directory

Rubocop is installed with bundler, I also tried to install it locally. It works well if I use it directly in a console.

I'm using Rubymine 2016.1.2 with ruby 2.3.1.

@teejayhh
Copy link

teejayhh commented Jul 25, 2016

@jvenezia
Copy link
Author

I believe the purpose of an issue is to report a problem and give visibility for people who might give a look to improve the tool.

But thanks for the reminder @teejayhh ;)

@teejayhh
Copy link

teejayhh commented Jul 25, 2016

I get it because I was looking for a solution myself. Have a look further down in the issue list, your issue has been brought up at least twice.

@semirart
Copy link

I have the same issue.

But I've discovered that it works if you run Rubymine with mine command in terminal.

@yoav-epstein
Copy link

Since RubyMine 2017.1, the plugin is no longer needed. Rubocop is now a built in. Preferences -> Editor -> Inspections -> Rubocop.

https://blog.jetbrains.com/ruby/2017/01/rubymine-2017-1-eap-2-creating-gemsets-rubocop-support/

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

4 participants