Cannot enter after "ruby script / server" in InstantRails
I am new to RoR. I am using the book "Agile Web Development with Rails" to get started with Windows 7.
In the command window, I run the following.
>rails demo
>cd demo
>ruby script/server
At this point, it loads the Mongrel server:
=> Booting Mongrel
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
The book says that I run
ruby script/generate controller Say
but I can't Ctrl-C - or type anything for that matter - after booting up the Mongrel server. Should I create a new controller in another instance of the InstantRails Command Window? Right now, the only way to stop the server is to close the window in which I started the server!
Please let me know if you need any other details. TIA.
+2
source to share