Unable to find command: Ruby


#1

Hello,
Im new to progamming and one day I opened atom to run some scripts and this pops up :

Unable to find command: ruby
Are you sure PATH is configured correctly?

ENV PATH: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static

Error: spawn ruby ENOENT
at _errnoException (util.js:1024:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

I’ve tried re-downloading ruby but it doesn’t seem to work
help?


#2

#3

Hello Mr Idleberg,
Im completely new to this stuff so I don’t understand anything there could you please explain ?


#4

In that case, you should probably use the GUI to add the PATH. Just follow the steps described here:

Or, if you prefer videos, watch this: