When trying to deploy using the set gateway option I receive the
following error:
[EMAIL PROTECTED]:/opt/rubyapp# cap deploy:setup
  * executing `deploy:setup'
  * executing "umask 02 && mkdir -p /opt/sites/${application} /opt/
sites/${application}/releases /opt/sites/${application}/shared /opt/
sites/${application}/shared/system /opt/sites/${application}/shared/
log /opt/sites/${application}/shared/pids"
    servers: ["stg-1"]
  * establishing connection to gateway `bastion'
    starting connection to gateway `bastion'
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/ossl/
hmac-factory.rb:43:in `get': undefined method `new' for
#<Net::SSH::Transport::OSSL::HMAC::None:0xb797ec60> (NoMethodError)
        from /usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/
lifecycle/proxy.rb:60:in `method_missing'
        from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/
transport/packet-stream.rb:42:in `initialize'
        from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/
transport/packet-stream.rb:71:in `initialize'
        from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/
transport/services.rb:60:in `register_services'
        from /usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/
lifecycle/proxy.rb:50:in `method_missing'
        from /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
        from /usr/lib/ruby/gems/1.8/gems/needle-1.3.0/lib/needle/
lifecycle/proxy.rb:47:in `method_missing'
        from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/
transport/session.rb:98:in `initialize'
         ... 43 levels...
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/
capistrano/cli/execute.rb:31:in `execute!'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/
capistrano/cli/execute.rb:14:in `execute'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.0.0/bin/cap:4
        from /usr/bin/cap:16


Sometimes it drops me to the prompt other times it hangs.
This is on ubuntu 6.0.6 LTS.
When I remove the following entry from config/deploy.rb
set :gateway, "bastion"

The error is gone, but I'll have to open up my firewall..  Really
don't want to do that.

Any suggestions?


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to