When setting the migrate_env to, say, :staging, the resulting command
looks somewhat like this:

rake RAILS_ENV=production staging db:migrate

which results in an error in rake, because the task 'staging' cannot
be found. The correct command would have been:

rake RAILS_ENV=staging db:migrate

This commit: 
http://github.com/jnicklas/capistrano/commit/ef664c074441ad7bbc8ffff5c0c3e35c435a1aee
fixes this issue. It's in my github fork of capistrano in the
migrations branch.

/Jonas Nicklas
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to