Help is very much needed

I’ve been practicing Ruby language. Everything was fine, the codes were running. but all of a sudden, I keep getting this error:

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\

Error: spawn ruby ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:229:19)
at onErrorNT (internal/child_process.js:406:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Your help will be much appreciated

I don’t see a path for Ruby. What does where ruby return on the command-line?

1 Like

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

that showed up

Never mind. I’m new to this. My code was wrong. Thanks for answering though.