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?
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.
Depending on your environment configuration, you might need this:
sudo passenger-config restart-app /
精彩评论