Setting production|development mode at runtime?

CSN
Wed, 30 Nov 2005 22:03:48 -0000

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