Rails 2.3.3 - Setting to production mode
问题 How do I set the application to production mode? Okay, this must be a no-brainer but I'm about to deploy my first Rails app and I've got everything setup properly: Ubuntu Hardy, Passenger, MySQL. However, it's still running in development mode. I've only been able to find documentation for older versions of Rails and want to make sure that I'm doing it right. Thanks in advance. 回答1: You'll need to set the RackEnv instead of RailsEnv. Actually, I just do both (although I mightn't need to...?).