Rafael thanks for reply

if i add that line to my deploy file i get the following error but the
thing is i can connect via command ssh u...@server with passphrase to
my server and also cap deploy:setup works fine so how can it be a
problem with my keys ?


$ cap deploy
  * executing `deploy'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
    executing locally: "git ls-remote g...@github.com:rmossuk/
Macrotec.git master
"
Enter passphrase for key '/c/Users/Rick/.ssh/id_rsa':
  * executing "git clone -q g...@github.com:rmossuk/Macrotec.git /usr/
local/lib/r
uby/gems/1.9.1/gems/passenger-2.2.4/test/stub/rails_apps/Macrotec/
releases/20090
724113249 && cd /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.4/
test/stub/ra
ils_apps/Macrotec/releases/20090724113249 && git checkout -q -b deploy
a28798bc0
d3b5688453a58bf4917d6c931187a7a && (echo
a28798bc0d3b5688453a58bf4917d6c931187a7
a > /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.4/test/stub/
rails_apps/Mac
rotec/releases/20090724113249/REVISION)"
    servers: ["macclesfieldnutrition.co.uk"]
Enter passphrase for c:/Users/Rick/.ssh/id_rsa:
    [macclesfieldnutrition.co.uk] executing command
 ** [macclesfieldnutrition.co.uk :: out] Permission denied
(publickey).
 ** [macclesfieldnutrition.co.uk :: out] fatal: The remote end hung up
unexpecte
dly
    command finished
*** [deploy:update_code] rolling back
  * executing "rm -rf /usr/local/lib/ruby/gems/1.9.1/gems/
passenger-2.2.4/test/s
tub/rails_apps/Macrotec/releases/20090724113249; true"
    servers: ["macclesfieldnutrition.co.uk"]
    [macclesfieldnutrition.co.uk] executing command
    command finished
failed: "sh -c 'git clone -q g...@github.com:rmossuk/Macrotec.git /usr/
local/lib/
ruby/gems/1.9.1/gems/passenger-2.2.4/test/stub/rails_apps/Macrotec/
releases/2009
0724113249 && cd /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.4/
test/stub/r
ails_apps/Macrotec/releases/20090724113249 && git checkout -q -b
deploy a28798bc
0d3b5688453a58bf4917d6c931187a7a && (echo
a28798bc0d3b5688453a58bf4917d6c931187a
7a > /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.4/test/stub/
rails_apps/Ma
crotec/releases/20090724113249/REVISION)'" on
macclesfieldnutrition.co.uk


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to capistrano@googlegroups.com
To unsubscribe from this group, send email to 
capistrano+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to