I should note that things work as expected when there is only one server defined. However if there are multiple servers for a role (or multiple roles), I get the above error.
I get the same results when running cap on Solaris 10. On Jun 22, 10:29 am, ry <[EMAIL PROTECTED]> wrote: > I'm seeing this too, with version 1.99.2 on OS X 10.4.9. I'm just > doing simple testing without a deploy.rb. I just upgraded to test out > cap2 for a non-Rails project. > > -ry > > On Jun 22, 8:32 am, DeRailed <[EMAIL PROTECTED]> wrote: > > > Major show stopper here. Any wisdom on this matter ? > > > Thanks !! > > > On Jun 21, 10:12 pm, DeRailed <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I have been able to setup cap2 to deploy correctly on my staging > > > server and now I am trying to setup my prod servers. > > > > In the capfile I have the following setting: > > > > role :app '1.1.1.1', '2.2.2.2' > > > > Then I issue the following command to prime up the deploy dir: > > > > > cap production deploy:setup ( using Jamis staging/prod railsconf > > > setup ) > > > > And I get the error below. > > > > NOTE: I am curiously getting two logging prompt before this error > > > happens. > > > Also if I remove either servers and settle for a single server > > > deploy then all > > > is working fine and the setup cmd completes successfully. > > > > I am running on OSX deploying to linux using cap 1.99.2 and net ssh > > > 1.1.1 > > > > Did I miss something ? > > > > Thanks > > > > /usr/local/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/container.rb: > > > 365:in `__send__': undefined method `register_services' for > > > Net::SSH::Service:Module (NoMethodError) > > > from /usr/local/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/ > > > container.rb:365:in `require' > > > from /usr/local/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/ > > > definition-context.rb:77:in `require' > > > from /usr/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.1/lib/net/ > > > ssh/session.rb:130:in `initialize' > > > from /usr/local/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/ > > > container.rb:107:in `define' > > > from /usr/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.1/lib/net/ > > > ssh/session.rb:106:in `initialize' > > > from /usr/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.1/lib/net/ > > > ssh.rb:47:in `start' > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.2/lib/ > > > capistrano/ssh.rb:82:in `connect' > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.2/lib/ > > > capistrano/configuration/connections.rb:20:in `connect_to' > > > ... 14 levels... > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.2/lib/ > > > capistrano/cli/execute.rb:31:in `execute!' > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.2/lib/ > > > capistrano/cli/execute.rb:14:in `execute' > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.2/bin/ > > > cap:4 > > > from /usr/local/bin/cap:16 --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
