To quit the server try control + Break as an alternative!
On Aug 30, 11:17 am, pauld <[email protected]> wrote: > Hi-- > > My answers below. > > On Aug 30, 9:44 am, ChenJie|抽屉 <[email protected]> wrote: > > > > > > > > > > > On Mon, Aug 30, 2010 at 08:57, pauld <[email protected]> wrote: > > > Just wanted to append some more information. > > > > Looks like after the rails server starts, it doesn't hand control back > > > to bash in the terminal. Say this because the normal prompt signs > > > don't show up in bash. So the question becomes why doesn't it hand > > > control back to bash, and how can this be changed? > > > > Thank you. > > > > On Aug 30, 8:11 am, pauld <[email protected]> wrote: > > > > After Rails 3 was just released today, I downloaded it and followed > > > > the instructions on Rails Guide for building my first app at Getting > > > > Started with Railshttp://guides.rubyonrails.org/getting_started.html > > > > > Everything worked fine until I got to 4.2 Say "Hello" Rails. Entered > > > > the "rails generate home controller index" command, and nothing > > > > happened. When I hit Command-C to quit the server, nothing happened > > > > either. > > > > > No error messages. > > > > > What happened? > > > Well, some questions came up after read through your post. > > 1. Have you input "rails s" or "rails server" at your bash? I mean have you > > started your rails server yet? > > -- Yes, I have started the server with the "rails server" command. > Starts up OK, and can see the index page onhttp://localhost:3000OK. > > > 2. What do you mean when you generate home controller, nothing happens? No > > error message in terminal and in browser? > > -- There is no response at all. > > > 3. Maybe it's your typo, but shouldn't it be "rails generate controller home > > index" not "rails generate home controller index"? > > -- Yes, that is my typo. Thank you for pointing it out. Have pasted in > the output from Terminal below. > > Paul-Denlingers-MacBook-Pro:Sites pdenlinger$ cd blog3 > Paul-Denlingers-MacBook-Pro:blog3 pdenlinger$ mate . > Paul-Denlingers-MacBook-Pro:blog3 pdenlinger$ rails server > /Library/Ruby/Gems/1.8/gems/bundler-1.0.0/lib/bundler/runtime.rb:134: > warning: Insecure world writable dir /Library/Ruby/Gems/1.8 in PATH, > mode 040777 > => Booting WEBrick > => Rails 3.0.0 application starting in development onhttp://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > [2010-08-30 11:09:58] INFO WEBrick 1.3.1 > [2010-08-30 11:09:58] INFO ruby 1.8.7 (2009-06-12) [universal- > darwin10.0] > [2010-08-30 11:09:58] INFO WEBrick::HTTPServer#start: pid=9853 > port=3000 > rails generate controller home index > > Thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

