On Nov 20, 2012, at 3:33 PM, jmcguckin wrote: > 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 > > Thanks, > > Joe > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/35vgYhWtrfIJ. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.