rake migrate RAILS_ENV="production"

Try RAILS_ENV=production rake db:migrate This is what im using all the time