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

Failed to run rubocop - RubyMine #36

Open
chazzly opened this issue Dec 28, 2015 · 19 comments
Open

Failed to run rubocop - RubyMine #36

chazzly opened this issue Dec 28, 2015 · 19 comments

Comments

@chazzly
Copy link

chazzly commented Dec 28, 2015

I saw the other issues, but each seemed slightly different, so thought I would throw mine in to help track down the problem(s).

This happened immediately after updating from 3.0.1 to 3.1.0. It seemed to work fine previously.

Failed to run RuboCop command - is it installed? (SDK=C:/opscode/chefdk/embedded/bin): Cannot run program "rubocop" (in directory "C:\Users\cruhl\Documents\Work-Repos\onrepocb"): CreateProcess error=2, The system cannot find the file specified

RubyMine 8.0.3
JRE 1.8.0_51
Ruby Version 2.1.6
rubocop gem 0.30.0

@celsoMartins
Copy link

Same here, same rubymine, ruby versions: all that I have:

image

image

image

image

@pkang
Copy link

pkang commented Jan 11, 2016

+1 I see the same issue.

@pkang
Copy link

pkang commented Jan 15, 2016

I downgraded my RuboCop plugin to 3.0.1 to get things working again.

@sleeptillseven
Copy link

@pkang +1 thanks! works for me (manual installation of version 3.0.1) too.

@jwg2s
Copy link

jwg2s commented Jan 18, 2016

👍 downgrading to 3.0.1 fixed the issue. @sirlantis any idea on when 3.1.0 will be patched? Thanks!

@celsoMartins
Copy link

Are you using the last rubymine version? Here is not working yet.

@jwg2s
Copy link

jwg2s commented Jan 18, 2016

@celsoMartins v3.1.0 of rubocop-for-rubymine fails against v8.0.3 of Rubymine.

@maia
Copy link

maia commented Feb 17, 2016

I can neither get 3.0.1 nor 3.1.0 to run with the most recent versions of RubyMine and Rubocop (using rbenv).

@TuckerJD
Copy link

+1 with:
Mac OS X (Mavericks)
rvm 1.26.4
RubyMine 8.0.3
Plugin RuboCop 3.1.0
Gem rubocop 0.37.2 installed and functional, both in a command-line window, and in RubyMine's terminal window.

Does anyone know how RubyMine determines the configuration for the plugin environment?

@agibralter
Copy link

I'm having trouble as well. Does rubocop have to be in my Gemfile? I'm using rbenv and rubocop is installed.

@agibralter
Copy link

Downgrading to 3.0.1 worked for me as well.

@agibralter
Copy link

Any updates here?

@agibralter
Copy link

Err. what I mean to say is that 3.0.1 seems to not work with RubyMine 2016.1...

@matt-hwy1
Copy link

Where can one get version 3.0.1. I don't see it in Rubymine's version options for it. Thanks.

@jwg2s
Copy link

jwg2s commented May 4, 2016

@matt-hwy1
Copy link

Thanks @jwg2s

@pedroadame
Copy link

pedroadame commented May 12, 2016

@sirlantis Neither 3.1.0 nor 3.0.1 versions of Rubocop for Rubymine work with RubyMine 2016.1

@pjfitzgibbons
Copy link

pjfitzgibbons commented Jul 22, 2016

Mentioned here
bundle exec mine
Has been working for me in 2016.1, 2016.2

@sleekweasel
Copy link

Strangely, even
ln -s $HOME/.rvm/gems/ruby-2.1.5/bin/rubocop $HOME/.rvm/rubies/ruby-2.1.5/bin/
doesn't fix it for me, where 'rubies' is the SDK it's complaining about, and 'gems' is where I find rubocop in Rubymine's terminal.

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