How can I instruct Capistrano 3 to load my shell environment variables set at remote host?
问题 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 inside .bashrc file, they are not taken into account by Capistrano. Capistrano seems to be executing a /usr/bin/env to create the environment for executing remote commands, but this does not seem to be loading the environment variables from .bashrc . Let me tell you also that I am using rvm-capistrano too (just in case it might