No such file to load when running Ruby 1.9.2 on Ubuntu

I have an existing Rails repo that is trying to run Ruby 1.9.2. I attempted to check out the code and get things running, but had a small problem.

$ rake spec
(in ...)
rake aborted!
no such file to load -- net/https. Try running apt-get install libopenssl-ruby
(See full trace by running task with --trace)

Although I tried sudo apt-get installing the various libopenssl-ruby and libopenssl-dev and whatnot, I kept getting the same error message.

I found this blog post that helped me out a bunch.

Categories: development

« Ruby Pretty-Print XML Avoiding Email and Twitter Overload »