Attempting to compile ruby code within atom using "script"


#1

Hi,
I am trying to compile ruby using the atom package “script”, but get the error:
‘ruby’ is not recognized as an internal or external command, operable program or batch file.

The package works fine on my mac, since macs come preinstalled with ruby. However, I continue to get the error on my Windows 10 pc even after downloading rubyinstaller.


#2

I would assume that you’re getting this error because ruby.exe is not in your PATH … at least the one that Atom sees.