LoadError: no such file to load — openssl

On a Debian system, if the Ruby complains about “LoadError: no such file to load — openssl” try to install this package libopenssl-ruby

$ sudo apt-get install libopenssl-ruby

Now test if the problem resolved:

$ irb -rubygems
irb(main):001:0> require 'openssl'
=> true

Voilla, there is no more load error.

Credit: Ruby Forum

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s