I am trying to do \'deploy:cold\' for my app. The git repo is local to my deployment server (i.e. I only have one server for everything and I don\'t host my code on github).
Just ran into the same problem. The key is to not use deploy_via copy but rather set :local_repository
This should be set to the URL you use to access the repository from your development computer/laptop.
So mine has
set :repository, "file:///srv/git/myapp.git"
set :local_repository, "nameOfHostFromSSHConfig:/srv/git/myapp.git"
Seems to have worked. Just remember to then remove the deploy_via copy line as well.