Forum: Ruby on Rails Setting production|development mode at runtime?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
cool_screen_name90001 (Guest)
on 2005-12-01 00:07
(Received via mailing list)
I have several sites that run out of the same Rails directory (I use
SERVER_NAME to
differentiate). Is it possible to set the production|development mode
according to SERVER_NAME at
run time? Ideally, I'd like to have the site I'm working on in
development mode, and all the rest
in production mode (instead of putting all sites in development mode, or
restarting everything
after every change in production mode).

thanks
csn




__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
This topic is locked and can not be replied to.