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).
Here is the transcript (replaced my app name with "myapp" for privacy)
* executing `deploy:cold'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
executing locally: "git ls-remote /home/mrichman/git/myapp.git master"
fatal: '/home/mrichman/git/myapp.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
*** [deploy:update_code] rolling back
* executing "rm -rf /var/www/myapp.com/releases/20100218203108; true"
servers: ["myapp.com"]
Password:
[myapp.com] executing command
command finished
Command git ls-remote /home/mrichman/git/myapp.git master returned status code 32768
Here is my deploy.rb: http://pastie.org/831424
I have also tried
set :repository, "deploy@localhost:/home/mrichman/git/myapp.git"
but that gives me
ssh: connect to host localhost port 22: Connection refused
Any ideas are appreciated.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…