I guess that you compiled ruby by hand and forgot include openssl support.

You need install libssl-dev , then go to ruby_source_code_path/ext/openssl then write the next commands:
 ruby extconf.rb
 make
 make install

Regards!


joe wrote:
Hello everyone,

I've been running through this article --
http://www.forwardthinkingdesign.com/blog/manage-and-deploy-drupal-code-securely-git-gitosis-and-capistrano
-- and I'm currently stuck on the part that has to do with capistrano.

I'm trying to run cap deploy:setup and and receiving a list of errors
involving the cap and net-ssh.  I actually receive these when running
anything else as well (cap -T, etc.):

/usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.20/lib/net/ssh/
transport/openssl.rb:1:in `require': no such file to load -- openssl
(LoadError)
        from /usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.20/lib/
net/ssh/transport/openssl.rb:1:in `<top (required)>'
        from /usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.20/lib/
net/ssh/buffer.rb:2:in `require'
        from /usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.20/lib/
net/ssh/buffer.rb:2:in `<top (required)>'
        from /usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.20/lib/
net/ssh/transport/algorithms.rb:1:in `require'
        from /usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.20/lib/
net/ssh/transport/algorithms.rb:1:in `<top (required)>'
        from /usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.20/lib/
net/ssh/transport/session.rb:7:in `require'
        from /usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.20/lib/
net/ssh/transport/session.rb:7:in `<top (required)>'
        from /usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.20/lib/
net/ssh.rb:10:in `require'
        from /usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.20/lib/
net/ssh.rb:10:in `<top (required)>'
        from /usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-gateway-1.0.1/
lib/net/ssh/gateway.rb:2:in `require'
        from /usr/local/lib/ruby/gems/1.9.1/gems/net-ssh-gateway-1.0.1/
lib/net/ssh/gateway.rb:2:in `<top (required)>'
        from /home/joe/.gem/ruby/1.9.1/gems/capistrano-2.5.16/lib/
capistrano/configuration/connections.rb:2:in `require'
        from /home/joe/.gem/ruby/1.9.1/gems/capistrano-2.5.16/lib/
capistrano/configuration/connections.rb:2:in `<top (required)>'
        from /home/joe/.gem/ruby/1.9.1/gems/capistrano-2.5.16/lib/
capistrano/configuration.rb:4:in `require'
        from /home/joe/.gem/ruby/1.9.1/gems/capistrano-2.5.16/lib/
capistrano/configuration.rb:4:in `<top (required)>'
        from /home/joe/.gem/ruby/1.9.1/gems/capistrano-2.5.16/lib/
capistrano.rb:1:in `require'
        from /home/joe/.gem/ruby/1.9.1/gems/capistrano-2.5.16/lib/
capistrano.rb:1:in `<top (required)>'
        from /home/joe/.gem/ruby/1.9.1/gems/capistrano-2.5.16/lib/
capistrano/cli.rb:1:in `require'
        from /home/joe/.gem/ruby/1.9.1/gems/capistrano-2.5.16/lib/
capistrano/cli.rb:1:in `<top (required)>'
        from /home/joe/.gem/ruby/1.9.1/gems/capistrano-2.5.16/bin/cap:
3:in `require'
        from /home/joe/.gem/ruby/1.9.1/gems/capistrano-2.5.16/bin/cap:
3:in `<top (required)>'
        from /usr/local/bin/cap:19:in `load'
        from /usr/local/bin/cap:19:in `<main>'

I'm using ruby 1.9.1p376 on ubuntu 9.10.  My deploy.rb file is pretty
much identical to the one in the article I mentioned above (http://
www.forwardthinkingdesign.com/files/deploy.rb).  I'm new to this gem
so I don't really know what's going on but I'm assuming it's
incompatibility issues.  Any suggestions would be great.

Thank you.



--
Rafa

--
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to capistrano@googlegroups.com
* To unsubscribe from this group, send email to 
capistrano+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to