Saturday, January 27, 2007

"Installing" net/https library in Ruby

This isn't written anywhere that I've looked, so it's either obvious, or I just missed the boat. But basically, in order to use the "net/https" library, you don't need to download it. It's included in the build of Ruby 1.8.4+

However, what you do need to install is both openssl, and the ruby-openssl packages for it in ubuntu in order for it to be working. Tip!


  1. Anonymous2:12 PM

    In my installation of ubuntu, I didn't get the net/https.rb file until I did:

    sudo apt-get install libopenssl-ruby

  2. huh, thanks for the tip. If I got the name of the package wrong, try what ted said.

  3. Anonymous7:59 PM

    Thanks for this, between you and Google I quickly solved my problem with my new Kubuntu install.


    - Brian

  4. :) To make one less unfortunate soul, the better.

  5. OMG thank you ted. I have literally been stuck for about 8 hours with the openssl problem, then jopenssl, and then net/https.