About ruby on rails, hackintosh, iphone3g and etc.

Friday, January 30, 2009

Starting Rails in Production Environment

Once moving the database to production environment, next is to run rails in production environment. There are a few commands like:

mongrel_rails start -e production

(start mongrel server in production environment)

rake RAILS_ENV=production

Or for console testing:

ruby script/console production

No comments: