--- In ilughyd-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx, "B. Shankar"
<bunnyshan4u@...> wrote:
>
> Hi,
>
> I have installed Ruby 1.8.4. I am trying to use net/ssh module in my
> program.
>
> require 'net/ssh'
>
> when i try to execute the ruby program, i get this error.
>
> "/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:22:in
> `require__': no such file to load -- openssl (LoadError)
After installing 'rubygems' , i did
'gem install net-ssh' as root
Then
$ irb
irb(main):001:0> require 'net/ssh'
LoadError: no such file to load -- net/ssh
from (irb):1:in `require'
from (irb):1
irb(main):002:0> require 'rubygems'
=> true
irb(main):003:0> require 'net/ssh'
=> true
Look in the files at /usr/local/lib/ruby/gems/1.8/doc/net-ssh-1.0.9/rdoc/
for documentation
Prasad
Prasad
-----------------------------------------------
Next Meeting as on our Website: http://ilughyd.org.in
-----------------------------------------------
|