I want to instruct Capistrano to load environment variables that are defined on remote server. How can I do that?
It seems that when I export my environment variables in
In Capistrano 3 it's set :default_env, { ... }
set :default_env, { ... }
Like here:
set :default_environment, { 'env_var1' => 'value1', 'env_var2' => 'value2' }
You can refer to this: Previous post..