Here is my checklist for deployment in production mode. I do everything
on this list, but my app still refuses to run in production mode. Does
anybody know what I’m missing?
“mongrel_rails start -d -e production -p 8000 -P log/mongrel8000.pid”
for all of my mongrels.
In config/environment.rb: Uncomment this line: “ENV[‘RAILS_ENV’] ||=
‘production’”
force-reload Apache
restart mongrels with mongrel_rails cluster::restart
i don’t know if you actually need to do those first two steps. the
mongrels
that are going be running will be from #4. they get their
configuration from
wherever you’ve got that set. some yml file somewhere.
i’ve got production set in my mongrel cluster configuration.