Oh… I guess I’m trying to understand why on my hosting environment
(dreamhost) it seems to run in PRODUCTION mode (dreamhost using Apache &
FastCGI), but on my local PC (with the same environment.rb file) it runs
in DEVELOPMENT mode. Perhaps the script/server scripts themself
override the environment.rb setting?
BTW - The behaviour I’m after is pretty much as things are occuring now,
I just don’t quite understand why things are occuring like they are
Greg H. wrote:
I changed my environmnet.rb to say PRODUCTION mode, however when I start
up a server “ruby scripts/server”
a) it runs in development mode (via the logs) - any ideas why?
b) why does webbrick run - I thought by default now it was supposed to
To get webby to run in production mode I think you need to do
script/server -e production or