Atom Hax: Installing Rubocop For Atom

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.

 

Fixed everything for me and now it works like a charm!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s