Variables for capistrano
When adjusting the value of a cap variable that is located in the standard.rb task library, you must use :set to adjust its value within your own recipe file (such as deploy.rb).
Example: :migrate_env is declared in Cap's standard.rb. To adjust its value, do not use a local variable named migrate_env to do so, it won't apply to the standard.rb library tasks.
set :migrate_geoip, "load_geoipcountry=false" set :migrate_env, "#{migrate_geoip}"