This is caused when you are using ssh agent forwarding with capistrano on windows. It should be fixed in the next release of capistrano, but in the meantime you can explicitly disable agent forwarding in your deploy.rb:
ssh_options[:forward_agent] = false - Jamis On Wed, Dec 3, 2008 at 4:46 PM, Larry <[EMAIL PROTECTED]> wrote: > > Hi, > > I just upgraded from Cap 2.1.0 to 2.5.2 and am experiencing the same > problem. Has anyone been able to solve this problem? > > Thanks, > Larry > > On Nov 10, 10:22 am, "James H." <[EMAIL PROTECTED]> wrote: >> Hi Ryan. >> >> Did you ever solve this issue? >> >> James >> >> On Oct 1, 10:49 am, RyanUK <[EMAIL PROTECTED]> wrote: >> >> > Hello, >> >> > I'm trying to deploy my rails app to dreamhost. I've got the deploy.rb >> > file setup and the directorys in place. Once I've typed 'cap deploy' >> > into the command line and entered my password I'm getting the >> > following error: >> >> > ** [deploy:update_code] exception while rolling back: >> > NoMethodError,undefinedmethod`closed?' for >> > #<Net::SSH::Authentication::Pageant::Socket: >> > 0x33b26dc> >> > C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/ >> > service/fo >> > rward.rb:218:in `prepare_client':undefinedmethod`closed?' for >> > #<Net::SSH::Aut >> > hentication::Pageant::Socket:0x33b26dc> (NoMethodError) >> > from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/ >> > lib/net/s >> > sh/connection/channel.rb:311:in `call' >> > from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/ >> > lib/net/s >> > sh/connection/channel.rb:311:in `process' >> > from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/ >> > lib/net/s >> > sh/connection/session.rb:195:in `preprocess' >> > from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/ >> > lib/net/s >> > sh/connection/session.rb:195:in `each' >> > from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/ >> > lib/net/s >> > sh/connection/session.rb:195:in `preprocess' >> > from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ >> > capistrano-2.5.0/lib/ca >> > pistrano/processable.rb:17:in `process_iteration' >> > from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ >> > capistrano-2.5.0/lib/ca >> > pistrano/processable.rb:43:in `ensure_each_session' >> > from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ >> > capistrano-2.5.0/lib/ca >> > pistrano/processable.rb:41:in `each' >> > ... 50 levels... >> > from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ >> > capistrano-2.5.0/lib/ca >> > pistrano/cli/execute.rb:14:in `execute' >> > from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ >> > capistrano-2.5.0/bin/ca >> > p:4 >> > from C:/InstantRails/ruby/bin/cap:19:in `load' >> > from C:/InstantRails/ruby/bin/cap:19 >> >> > Has anyone else come across this problem? As you might notice I'm >> > running Instant Rails 2 with Rails 2.0.2. >> >> > Thanks, >> > Ryan > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
