Environment Switching Problem


Hi guys. I’m currently running under “development” mode. Whenever I
uncomment the RAILS_ENV = ‘production’ line in the environment.rb
file, I get a “Rails application failed to start properly” error. I
tried killing the fcgi process, but that didn’t help. Commenting that
line again gets everything working again.

Any suggestions?



Please disregard. Apparently I’m an idiot. My production DB wasn’t
configured correctly. Sorry for the noise.