Zhao Yi wrote:
> When I run "ruby script/server" to start rails server, the current shell
> will be blocked and all the output from rails will be written to the
> current console. Does rails support a non-block mode and let the output
> to be written to a specified log file?

Use the -d option with the `ruby script/server` program. Then  WEBrick 
server will run as a daemon.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to