I have error running RuboCop on Atom.
My console reads:
Error running RuboCop Error: Failed to spawn commandrubocop
. Make surerubocop
is installed and on your PATH
gem install rubocop and I got this:
Building native extensions. This could take a while... ERROR: While executing gem ... (Errno::EACCES) Permission denied @ dir_s_mkdir - /Users/CTO/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/rainbow-2.2.2
I’m new at this. Help will be much appreciated!