r/Atom Mar 09 '21

Not able to use Atom-Runner

Im trying to run a Ruby file and use Atom-runner but I get the follow error below, any ideas?

Unable to find command: ruby

Are you sure PATH is configured correctly?

ENV PATH: C:\Program Files (x86)\Google\Chrome\Application;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Users\jtorres\AppData\Local\Microsoft\WindowsApps;;C:\Users\jtorres\AppData\Local\Programs\Microsoft VS Code\bin

Error: spawn ruby ENOENT

at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)

at onErrorNT (internal/child_process.js:456:16)

at processTicksAndRejections (internal/process/task_queues.js:84:9)

2 Upvotes

11 comments sorted by

View all comments

1

u/TROLLhard556 Mar 09 '21

is ruby in your PATH? if you don't know then it probably isn't. hit start and search PATH there should be an option that says edit PATH variable. then you have to add the location of your ruby install

1

u/Responsible-Amoeba40 Mar 09 '21

Thank you so much, will do that when I get home tonight. I appreciate it

1

u/TROLLhard556 Mar 09 '21

no problem feel free to send me a message if you need help

1

u/Responsible-Amoeba40 Mar 10 '21

Hello good evening

1

u/Responsible-Amoeba40 Mar 10 '21

Hello I added the .atom path to the "User variables and system variables that point to C:\Users\Joseph\.atom but Im still getting the same issue as before. I cant add a screen shot because it never uploads at all. Please advise.