Migrate production

17.Oct.2012

Rake migrate doesn”t detect the current environment once you setup app on your production server, so in order to run it with proper profile, you can do following:

rake db:migrate RAILS_ENV="production"