In Capistrano 2, you could do something like this:
set :default_environment, {
'PATH' => '$PATH:/opt/rubies/ruby-2.1.1/bin'
}
Is there an equivalent in cap 3?
use:
set :default_env, {
'PATH' => 'PATH=$PATH:/opt/rubies/ruby-2.1.1/bin'
}
as of at least capistrano 3.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With