Cmd line arg to specify DB for rake migrate?

I want to say

bundle exec rake db:migrate

but, I don’t want to use the default database. Is there a command line argument I can use?

Thanks,

Joe

I want to say

   bundle exec rake db:migrate

but, I don't want to use the default database. Is there a command line argument I can use?

If you define an environment for it in database.yml, then you can just do this:

rake db:migrate RAILS_ENV=my_production

Walter