I have recently been trying out Atom text editor and noticed that I couldn’t get Rubocop to work. I kept getting:
Error: env: ruby_executable_hooks: No such file or directory
After some quick searching, the following solution came up on SO. Basically you need to go back to your ~/.atom/config.cson and make the following changes.
|# This is what your probably have|
|# This is what you should have|
|# Notice that the bin was changed to wrapper|
Fixed everything for me and now it works like a charm!