I am a new ruby programmer and I am trying to add Rubocop to Atom.io. I went to
https://atom.io/packages/linter-rubocop and following the installation. I did install the linter package in my linux terminal. That seem to be fine.
But when I typed $ gem install rubocop into my linux, I received the message.
You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory.
So now I keep getting an error message in Atom saying:
[Linter] Error running RuboCop Error: Failed to spawn command
rubocop. Make sure
rubocop is installed and on your PATH
Any help or direction would be greatful!