Please add some general information about your environment:
Operating System -
Max os x yosemite
Sublime Text version -
Sublime Text 3 (build 3126)
Details about your config e.g. do you use rbenv, rvm or your_own_command to run rubocop?
I am using rbenv but rubocop is in my path
I am using zsh shell
▶ echo $PATH
/Users/myname/.exenv/shims:/Users/myname/.exenv/bin:/usr/local/Cellar/erlang/18.3/bin:/opt/gradle-2.8/bin:/Users/myname/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/myname/.fzf/bin
When I run RobuCop check current file I got this error
/bin/sh: rubocop: command not found
[Finished in 0.0s with exit code 127]
[cmd: rubocop /Users/myname/data/src/myproject/app/controllers/application_controller.rb]
[dir: /Users/myname/data/src/myproject]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
Please add some general information about your environment:
and rubocop is under
/Users/myname/.rbenv/shims
Steps to reproduce:
my rubocop user setting file
When I run
RobuCop check current file
I got this error