In the Capistrano Multi-staging documentation set :deploy_env, 'production' is used. Is deploy_env the same as rails_env which tells Capistrano which environment to use when running the app/migrations?
If they are not the same, what does deploy_env do and how should it be used?
It appears to be a typo. See Issue #189 for capistrano gem on github. Use
rails_envnotdeploy_env.