While programming for one of my projects using Sinatra, I encountered a problem when using Rack’s session.

LoadError: no such file to load — openssl

The error message states that they cannot find openssl, even though I currently have it installed on my machine. After reading advices from helpful forums, people who encountered the same problem stated that I need the library of OpenSSL. Here’s the code to install the OpenSSL library easily:

sudo apt-get install libopenssl-ruby1.9

I worked for me, and now I can continue working on my project.

Related posts:

  1. Error in installing do_mysql on Mac OSX
Tagged with:  
Share →

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>