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
-~----------~----~----~----~------~----~------~--~---