Add into your deploy.rb this line: ssh_options[:forward_agent] = false
Read at http://groups.google.com/group/capistrano/msg/655110abb008e990?pli=1 rmossuk wrote: > hi all > > i get this error when trying to deploy my app to the server. > > Can anyone please help me as i cant find the answer anywhere. > > > > $ cap deploy:cold > triggering start callbacks for `deploy:cold' > Could not open a connection to your authentication agent. > * executing `deploy:cold' > * executing `deploy:update' > ** transaction: start > * executing `deploy:update_code' > executing locally: "git ls-remote [email protected]:rmossuk/ > Macrotec.git master > " > Enter passphrase for key '/c/Users/Rick/.ssh/id_rsa': > * executing "git clone -q [email protected]:rmossuk/Macrotec.git /usr/ > local/lib/r > uby/gems/1.9.1/gems/passenger-2.2.4/test/stub/rails_apps/Macrotec/ > releases/20090 > 724090546 && cd /usr/local/lib/ruby/gems/1.9.1/gems/passenger-2.2.4/ > test/stub/ra > ils_apps/Macrotec/releases/20090724090546 && 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/20090724090546/REVISION)" > servers: ["macclesfieldnutrition.co.uk"] > Enter passphrase for c:/Users/Rick/.ssh/id_rsa: > [macclesfieldnutrition.co.uk] executing command > *** [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/20090724090546; true" > servers: ["macclesfieldnutrition.co.uk"] > ** [deploy:update_code] exception while rolling back: TypeError, > can't convert > Net::SSH::Authentication::Pageant::Socket into IO > c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.8/lib/ > capistrano/proc > essable.rb:25:in `select': can't convert > Net::SSH::Authentication::Pageant::Sock > et into IO (TypeError) > from c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ > capistrano-2.5.8/lib/ca > pistrano/processable.rb:25:in `process_iteration' > from c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ > capistrano-2.5.8/lib/ca > pistrano/command.rb:163:in `process!' > from c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ > capistrano-2.5.8/lib/ca > pistrano/command.rb:162:in `loop' > from c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ > capistrano-2.5.8/lib/ca > pistrano/command.rb:162:in `process!' > from c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ > capistrano-2.5.8/lib/ca > pistrano/command.rb:133:in `process' > from c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ > capistrano-2.5.8/lib/ca > pistrano/configuration/actions/invocation.rb:173:in `run_tree' > from c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ > capistrano-2.5.8/lib/ca > pistrano/configuration/connections.rb:172:in `execute_on_servers' > from c:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/ > custom_require > .rb:31:in `each_slice' > ... 40 levels... > from c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ > capistrano-2.5.8/lib/ca > pistrano/cli/execute.rb:14:in `execute' > from c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ > capistrano-2.5.8/bin/ca > p:4 > from c:/InstantRails/ruby/bin/cap:19:in `load' > from c:/InstantRails/ruby/bin/cap:19 > > thanks alot > rick > > > > -- Rafa --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Capistrano" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
