Find the answer to your Linux question:
Results 1 to 2 of 2
i have recently been trying to set up a server, and have had the problem of trying to set up capistrano deploys with the command cap deploy:setup. when i run ...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    12

    [SOLVED] capistrano fails to set up

    i have recently been trying to set up a server, and have had the problem of trying to set up capistrano deploys with the command cap deploy:setup.
    when i run the command it outputs the following error;
    Code:
    cap deploy:setup
    /usr/lib/ruby/1.8/net/ssh/transport/openssl.rb:1:in `require': no such file to load -- openssl (LoadError)
    	from /usr/lib/ruby/1.8/net/ssh/transport/openssl.rb:1
    	from /usr/lib/ruby/1.8/net/ssh/buffer.rb:2:in `require'
    	from /usr/lib/ruby/1.8/net/ssh/buffer.rb:2
    	from /usr/lib/ruby/1.8/net/ssh/transport/algorithms.rb:1:in `require'
    	from /usr/lib/ruby/1.8/net/ssh/transport/algorithms.rb:1
    	from /usr/lib/ruby/1.8/net/ssh/transport/session.rb:7:in `require'
    	from /usr/lib/ruby/1.8/net/ssh/transport/session.rb:7
    	from /usr/lib/ruby/1.8/net/ssh.rb:10:in `require'
    	from /usr/lib/ruby/1.8/net/ssh.rb:10
    	from /usr/lib/ruby/1.8/net/ssh/gateway.rb:2:in `require'
    	from /usr/lib/ruby/1.8/net/ssh/gateway.rb:2
    	from /usr/lib/ruby/1.8/capistrano/configuration/connections.rb:2:in `require'
    	from /usr/lib/ruby/1.8/capistrano/configuration/connections.rb:2
    	from /usr/lib/ruby/1.8/capistrano/configuration.rb:4:in `require'
    	from /usr/lib/ruby/1.8/capistrano/configuration.rb:4
    	from /usr/lib/ruby/1.8/capistrano.rb:1:in `require'
    	from /usr/lib/ruby/1.8/capistrano.rb:1
    	from /usr/lib/ruby/1.8/capistrano/cli.rb:1:in `require'
    	from /usr/lib/ruby/1.8/capistrano/cli.rb:1
    	from /usr/bin/cap:3:in `require'
    	from /usr/bin/cap:3
    i have tryed installing both ruby and open ssl and niether helped. can you please tell me what i am doing wrong?
    thanks

  2. #2
    Just Joined!
    Join Date
    Jul 2009
    Posts
    12
    the problem was with the ruby bindings for open ssl, to fix just install netssh gem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...