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

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


Yahoo! Mail - PC Magazine Editors' Choice 2005
This topic is locked and can not be replied to.