ruby-on-railsruby-on-rails-3production-environmentpassenger

How to start passenger in production environment?


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?


Solution

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