You're probably right. When the application is actually running, I want it to use :rails_env "production". That's what I have set in Capistrano now. Chances are I wasn't thinking correctly about what :rails_env does. If :rails_env is only really for the duration of the deployment, really only affecting db:migrate, then for Capistrano I want it to be "deploy" as you have said.
I think I just keep getting stuff confused. - nathan. On Oct 18, 5:23 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: > I think what you want is the rails_env variable: > > set :rails_env, "deploy" > > The migrate_env variable is for setting additional environment > variables that your migrations might need. > > - Jamis > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
