I am following this tutorial and I've run the command ruby script\server and successfully started the server.
Now, when I run ruby script\generate controller MyTest, it says
'ruby' is not recognized as an internal or external command..
I am following this tutorial and I've run the command ruby script\server and successfully started the server.
Now, when I run ruby script\generate controller MyTest, it says
'ruby' is not recognized as an internal or external command..
This error message means
or
Edit:
If you look at the screenshots of the 1st page, the path to ruby is specified all the time
"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rails
I did install it on my netbook - I specified to update my PATH but it didnt. After setting up my path correctly, I could type: gem install rails
Sounds like you either haven't installed ruby or it hasn't been added to your PATH environment variable. Use the link text from this page and make sure you open the cmd.exe console AFTER you installed Ruby.
ruby.exe