14

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?

Mr_Nizzle
  • 6,644
  • 12
  • 55
  • 85

2 Answers2

39
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.

Benoit Garret
  • 14,027
  • 4
  • 59
  • 64
0

Depending on your environment configuration, you might need this:

sudo passenger-config restart-app /
lacostenycoder
  • 10,623
  • 4
  • 31
  • 48