Forum: Ruby on Rails What mode does Apache/Rails start in?

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.
6828ffc79486cd2442714bf32286a910?d=identicon&s=25 Vivek Krishna (Guest)
on 2006-01-15 05:29
(Received via mailing list)
Hi ,
 I am using Rails with APache on FC3. While I can control the mode in
rails starts using WEBrick.How do I make APache start in one of the
dev/production modes.?
F15fdc7cb2e911b3808837f2be244add?d=identicon&s=25 Adam Denenberg (Guest)
on 2006-01-15 21:29
(Received via mailing list)
in rails use -e with script/server (script/server -e production)

and in apache with Fcgi use the following line:

FastCgiServer /usr/local/rails/townsimple/public/dispatch.fcgi
-initial-env RAILS_ENV=production -idle-timeout 60 -processes 2

6828ffc79486cd2442714bf32286a910?d=identicon&s=25 Vivek Krishna (Guest)
on 2006-01-16 13:23
(Received via mailing list)
Hi Adam,
Thanks for the reply,but I dont  get what you mean when you say
FastCgiServer /usr/local/rails/townsimple/public/dispatch.fcgi ?
Is that some command to start FastCGI ? I actually got fastCGI working
never had to do that!
This topic is locked and can not be replied to.