I thought migrate_env would do exactly what I wanted, which is to use
a different RAILS_ENV for the migration (2 users pointing at the same
database, but the "deploy" migration user has greater MySQL privileges
than the standard "production" user).

>From reading in this group, I see that I actually need to specify:
  set :migrate_env, "RAILS_ENV=deploy"

In this case both RAILS_ENV=production and RAILS_ENV=deploy are passed
to db:migrate, though I think it will still work. Just confusing,
though I thought I'd note my concern.

Also, does anyone have any suggestions for another way of
accomplishing this?

Thanks, Nathan.


--~--~---------~--~----~------------~-------~--~----~
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