Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Env set :default_env does not work #1872
01 php -v
01 echo $PATH
# This won't use :default_env execute "php -v" # This will use :default_env execute :php, "-v"
This is covered in the Basic Usage section of the SSHKit README:
Although I sympathize – this is one of the more esoteric aspects of Capistrano. If you have any suggestions on how this can be better documented, let us know or feel free to open a PR!