-
Notifications
You must be signed in to change notification settings - Fork 51
Error when rubocop is run: Error: env: ruby_executable_hooks: No such file or directory #62
Comments
I get the same problem when I don't start atom from the command line (from the icon or when atom restarts after an update). |
@Janther I always start Atom from the command line. I tried to enable linter-rubocop again to make sure I din't accidentally start it some other way. Now I don't get the error from above anymore, but I get a new Error:
Since the error said something about recognising 2.1.6 but running 2.1.5, I installed 2.1.6 using rvm, set it to default, installed rubocop and updated the executablePath in the linter-rubocop settings. |
I updated atom and linter-rubocop yesterday and got the same but since but the new error you get is addressed #61 it's a warning that the gem rubocop throws and they blame the warning on the gem parser and they blame them on the ruby language. |
Oh you're right now its the same as #61. |
I am getting this again on atom 1.0.19 and linter-rubocop at 0.4.4. I would reopen it. |
@betarelease make sure you're using the latest |
Any update on this issue? I am getting the same error |
@bhushangahire The only issue reported so far is due to OS X's handling of the application environment (or more specifically, the lack thereof) of things launched from the GUI. If you are on OS X try launching Atom from a terminal window and if that works try explicitly setting the path in your settings. |
I just changed in rubocop path /bin to /wrapper and it worked |
@bhushangahire Your workaround helped me, by the way, I have the directory and it is named |
@bhushangahire your workaround worked for me. Thanks! |
@bhushangahire 👍 kudos! |
Great |
@bhushangahire 👍 Thanks |
Does anyone understand why it works? It still works even in 2020. What the heck! |
This is somewhat similar to #61 but I get a different Error Message.
![screen shot 2015-08-10 at 11 47 42](https://cloud.githubusercontent.com/assets/11647830/9167840/fb7dbd0c-3f55-11e5-9a1b-413cb5aa7f7d.png)
I'm use Atom 1.0.5 on OS X 10.10.4
This started happening after I upgraded from 0.2.6 to 0.3.1. I don't know if 0.3.0 has the same problem.
The text was updated successfully, but these errors were encountered: