On 30 Aug 2010, at 13:03, pauld wrote:

> Thanks for the detailed kill instructions; but it still doesn't work.
> See terminal below:
> 
> 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 on http://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
> [2010-08-30 19:56:21] INFO  WEBrick 1.3.1
> [2010-08-30 19:56:21] INFO  ruby 1.8.7 (2009-06-12) [universal-
> darwin10.0]
> [2010-08-30 19:56:21] INFO  WEBrick::HTTPServer#start: pid=42417
> port=3000
> pkill
> ps aux | grep rails | awk '{print $2}' | xargs kill -9
> ps aux|grep rails|awk'{print$2}'|xargs kill -9
> 
> 
> Started GET "/home/index" for 127.0.0.1 at Mon Aug 30 19:59:23 +0800
> 2010
> 
> ActionController::RoutingError (No route matches "/home/index"):
> 
> 
> Rendered /Library/Ruby/Gems/1.8/gems/actionpack-3.0.0/lib/
> action_dispatch/middleware/templates/rescues/routing_error.erb within
> rescues/layout (1.0ms)

<snip>

It looks like you're trying to type shell commands directly into the server 
output. This won't work.

The server runs in the foreground. You can't type commands into it. All you can 
do is quit it, by hitting Ctrl-C (not Command-C). It may take a few seconds to 
notice your signal and respond.

If you want to run shell commands while the server is running, open a new, 
separate terminal window. You can type shell commands into the new window, 
while leaving the server running in the original window. You need to have two 
terminal windows open.

Chris

-- 
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.

Reply via email to