Rob Nichols wrote:
> 
>> RAILS_ENV=production rake db:migrate
>> 
That doesn't work on my system, but this does

rake db:migrate RAILS_ENV=production

Which is better than what I had. It looks like you don't need the 
'environment' key word.

> I might see if I can modify mine to:
> 
> rake db:migrate production

Looking at this closer, this isn't too clever an idea once you start 
wanting to roll backwards and forwards through versions. The more I look 
at it, the more "rake db:migrate RAILS_ENV=production" looks fine.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to