Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Failed to spawn command Error #141

Open
danafarhat opened this issue Oct 15, 2018 · 3 comments
Open

Failed to spawn command Error #141

danafarhat opened this issue Oct 15, 2018 · 3 comments
Labels

Comments

@danafarhat
Copy link

danafarhat commented Oct 15, 2018

I am getting this error constantly every time I edit a ruby file in my Atom env. Cannot fix it. Please help.

/Users/danafarhat/.atom/packages/linter/lib/linter-registry.js:159 
[Linter] Error running Ruby Error: Failed to spawn command `/opt/rubies/2.3.3/bin/ruby`. Make sure `/opt/rubies/2.3.3/bin/ruby` is installed and on your PATH   at /Users/danafarhat/.atom/packages/linter-ruby/node_modules/atom-linter/lib/helpers.js:130:24
    at process._tickCallback (internal/process/next_tick.js:103:7)
@Arcanemagus
Copy link
Member

Is /opt/rubies/2.3.3/bin/ruby a valid executable?

@danafarhat
Copy link
Author

@Arcanemagus I don't think it is. I would need to change that somehow?

@Arcanemagus
Copy link
Member

You can either change the executable path in the settings to the full path to ruby (e.g. the result of which ruby), or leave it as the default and launch Atom from an environment where ruby resolves to the correct Ruby interpreter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants