After a recent restart of my PC, when I tried to execute “ruby script/
server”, it gave me an error,
‘ruby’ is not recognized as an internal or external command,
operable program or batch file.
I also tried commands like “rails”, “gem”, “ri”, “irb”, “cap”,
“capify”, “rake” etc but OS refuses to recognise any of them.
Everything worked perfectly before last shutdown.
I even tried System Restore, but I get a message something like - “Can
not restore the system…”
I may understand that this message is not really related to Ruby-on-
Rails, but please let me know how to restore the commands i.e., how
can I make them work again. Or let me know if their is any better
place on web to raise this issue.
I’m using -
Windows XP Service Pack 2
“Ruby and friends” installed from latest release of Ruby-one-click-