Forum: Ruby on Rails starting WEBrick

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
David M (Guest)
on 2006-06-12 15:37
(Received via mailing list)
I'm doing some testing and want to start WEBrick as a daemon on my RHEL
server.  How can I start this to run as a daemon from the command line
that I can close my ssh session and leave WEBrick running?

Robert D. (Guest)
on 2006-06-12 15:44
(Received via mailing list)

On our Ubuntu test box we go into the root directory of the rails app
and hit script/server. We can then lock the screen and WEBrick keeps
going. I am sure that you can set up a cron job as well to make it start
upon reboot of the server. Good luck.


Robert D.
Project Director
Atlantic Dominion Solutions, LLC


Visit our blog for all the latest at
Phillip K. (Guest)
on 2006-06-12 16:06
(Received via mailing list)
$RAILS_ROOT/script/server -d

David M wrote:

Phillip K.
This topic is locked and can not be replied to.