Can't type after "ruby script/server" in InstantRails

Posted by mathee on Stack Overflow See other posts from Stack Overflow or by mathee
Published on 2010-04-11T06:22:53Z Indexed on 2010/04/11 6:33 UTC
Read the original article Hit count: 266

Filed under:
|

I'm a newb to RoR. I'm using the book "Agile Web Development with Rails" to get started on Windows 7.

In the command window, I run the following.

>rails demo
>cd demo
>ruby script/server

At this point, it boots 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 goes on to tell me to run

ruby script/generate controller Say

but, I cannot Ctrl-C -- or type anything for that matter -- after booting the Mongrel server. Am I supposed to create the new controller in another instance of the InstantRails command window? Right now, the only way I can stop the server is closing the window in which I started the server!

Please let me know if you need any other details. tia.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about mongrel