OpenSSL installed, but Ruby unable to require it

Posted by uomoinverde on Ask Ubuntu See other posts from Ask Ubuntu or by uomoinverde
Published on 2014-08-19T12:33:38Z Indexed on 2014/08/20 16:35 UTC
Read the original article Hit count: 327

Filed under:
|
|

I'm trying to setup github-pages on my Ubuntu laptop, and following the guide provided by Github I have to install the bundler package; giving the command

~$ gem install bundler

returns me this error.

ERROR: While executing gem ... (Gem::Exception) Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources

Then I have installed OpenSSL, launched the command to update software and stuff and tried again to install bundler, but the error kept showing.

How can I fix this? Is there any specific command to rebuild ruby making it aware about the fact that openSSL is now installed?

© Ask Ubuntu or respective owner

Related posts about ruby

Related posts about openssl