Reputation: 14630
cap is trying to create this location on my server to access my git repo (on bitbucket). Unfortunately this is a shared host, and the ssh keys are in my user directory, not in /tmp…. so this fails:
GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/doman.com/git-ssh.sh /usr/bin/env git ls-remote
Can I configure this tmp dir to be in my home dir?
Upvotes: 0
Views: 983
Reputation: 191
According to the Capistrano Github page you should set the :tmp_dir variable to a directory on your homepath like /home/user/tmp/capistrano
For example:
set :tmp_dir, '/home/user/tmp/capistrano'
Upvotes: 1