{"action":"opened","issue":{"url":"https://api.github.com/repos/sirlantis/rubocop-for-rubymine/issues/31","labels_url":"https://api.github.com/repos/sirlantis/rubocop-for-rubymine/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/sirlantis/rubocop-for-rubymine/issues/31/comments","events_url":"https://api.github.com/repos/sirlantis/rubocop-for-rubymine/issues/31/events","html_url":"https://github.com/sirlantis/rubocop-for-rubymine/issues/31","id":123438003,"number":31,"title":"Failed to run RuboCop command - is it (or bundler) installed?","user":{"login":"maia","id":9836,"avatar_url":"https://avatars.githubusercontent.com/u/9836?v=3","gravatar_id":"","url":"https://api.github.com/users/maia","html_url":"https://github.com/maia","followers_url":"https://api.github.com/users/maia/followers","following_url":"https://api.github.com/users/maia/following{/other_user}","gists_url":"https://api.github.com/users/maia/gists{/gist_id}","starred_url":"https://api.github.com/users/maia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maia/subscriptions","organizations_url":"https://api.github.com/users/maia/orgs","repos_url":"https://api.github.com/users/maia/repos","events_url":"https://api.github.com/users/maia/events{/privacy}","received_events_url":"https://api.github.com/users/maia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-22T08:29:25Z","updated_at":"2015-12-22T08:29:25Z","closed_at":null,"body":"I'm having problems getting rubocop-for-rubymine (version 3.0.2) to work, here is the error message:\r\n````\r\nFailed to run RuboCop command - is it (or bundler) installed? (SDK=/Users/username/.rbenv/versions/2.2.4/bin): Cannot run program \"rubocop\" (in directory \"/Users/username/appname\"): error=2, No such file or directory\r\ncom.intellij.execution.process.ProcessNotCreatedException: Cannot run program \"rubocop\" (in directory \"/Users/username/appname\"): error=2, No such file or directory\r\n\tat com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:358)\r\n\tat org.jetbrains.plugins.ruby.ruby.run.RubyCommandLine.createProcess(RubyCommandLine.java:64)\r\n\tat io.github.sirlantis.rubymine.rubocop.RubocopTask$runViaCommandLine$1.invoke(RubocopTask.kt:190)\r\n\tat io.github.sirlantis.rubymine.rubocop.RubocopTask$runViaCommandLine$1.invoke(RubocopTask.kt:25)\r\n\t…\r\n````\r\nThe error message is somewhat unclear as I can run rubocop in the referenced directory without any problem.\r\n````\r\n$ which rubocop\r\n/Users/username/.rbenv/shims/rubocop\r\n\r\n$ which bundler\r\n/Users/username/.rbenv/shims/bundler\r\n\r\n$ rbenv versions\r\n  system\r\n* 2.2.4 (set by /Users/username/.rbenv/version)\r\n````\r\n\r\nMy Gemfile development group includes `gem 'rubocop'`, `/Users/username/.rbenv/versions/2.2.4/bin` contains bundler (version 1.11.2), and my project root has a `.rubocop.yml`. Rubymine version is 8.0.2, OSX version is 10.11.2. Rubocop runs fine from the command line, but it leaves a warning (see below), which seems unlikely to be the cause?\r\n````\r\n$ rubocop\r\nwarning: parser/current is loading parser/ruby22, which recognizes\r\nwarning: 2.2.3-compliant syntax, but you are running 2.2.4.\r\nwarning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.\r\n````"}}