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!

5 comments:

  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

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

    ReplyDelete
  3. Anonymous7:59 PM

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

    Cheers

    - Brian

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

    ReplyDelete
  5. Anonymous11:16 AM

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

    ReplyDelete