How to start passenger in production environment?

Mr_Nizzle picture Mr_Nizzle · Aug 31, 2011 · Viewed 20.4k times · Source

I'm starting the Rails 3 application with the following command:

passenger start -a 0.0.0.0 -p 3000 -d

but how do I tell passenger to start the application in production environment?

Answer

Benoit Garret picture Benoit Garret · Aug 31, 2011
passenger start -a 0.0.0.0 -p 3000 -d -e production

Side note: always check the help, passenger start --help would have told you the same.