Forum: Ruby-Gnome 2 visual ruby: cannot load such file -- openssl

Posted by Wybo D. (wybo_d)
on 2012-04-07 16:28
I just installed visual ruby, with ruby 1.9.3p125, but vr said:
cannot load such file -- openssl
I had to copy /usr/lib/ruby/1.8/i686-linux/openssl.so into my
$LOAD_PATH.
vr now works, but is this the correct library?
Posted by Eric C. (eric_c)
on 2012-04-07 21:15
Hi Wybo:

I beleive that openssl is a part of ruby 1.9.  Before, when I was using
ruby 1.8.7 that installed with ubuntu, I had to install libopenssl-ruby
like this:

$ sudo apt-get install libopenssl-ruby

But that hasn't been necessary with version 1.9 because its already
included.  I think your problem occurred with your install of ruby.  If
1.9 is installed, this command should work in irb:

irb>require 'net/https'

That will test if it is installed correctly.   It should return true.

Perhaps others know more than I do.

Thank you very much for your feedback.  Please let me know if you have
any more trouble.

Yours,
Eric
Posted by Wybo Dekker (wybodek)
on 2012-04-09 14:40
Hi Eric,

Yes, I finally found out that it was libssl-dev that was missing.
Thanks!
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.