... because from time to time I'm a web developer, too
About me
Projects
Contact
Links

Ruby on Rails: ‘require_frameworks’: no such file to load — net/https (RuntimeError)

May 28, 2010 | ruby / ruby on rails
author: Karol Zielinski | comments: 10 | views: 1847
Tags: ,

I started to learn Ruby on Rails. First impression (based on screencasts and presentations) was very good. Next… I wanted to try it by myself. And first trouble… “initializer.rb:271:in `require_frameworks’: no such file to load — net/https (RuntimeError)”

Ruby on Rails

However since the beginning…

Install Ruby

sudo apt-get install ruby

Install RubyGems

sudo apt-get install rubygems

Install Rails

gem install rails

Make an application

rails myappname
cd myappname
ruby script/server

And… first error. What can I see on console?

=> Booting WEBrick
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
/home/user/.gem/ruby/1.8/gems/rails-2.3.8/lib/initializer.rb:271:in `require_frameworks': no such file to load -- net/https (RuntimeError)
(...)

What is wrong?
I don’t have the Ruby SSL support installed.

What can I do?

sudo apt-get install libopenssl-ruby1.8

and that’s all. Everything works fine right now.

Bookmark and Share
Post Ruby on Rails: ‘require_frameworks’: no such file to load — net/https (RuntimeError) to develway Post Ruby on Rails: ‘require_frameworks’: no such file to load — net/https (RuntimeError) to Delicious Post Ruby on Rails: ‘require_frameworks’: no such file to load — net/https (RuntimeError) to Digg Post Ruby on Rails: ‘require_frameworks’: no such file to load — net/https (RuntimeError) to Facebook Post Ruby on Rails: ‘require_frameworks’: no such file to load — net/https (RuntimeError) to Reddit Post Ruby on Rails: ‘require_frameworks’: no such file to load — net/https (RuntimeError) to StumbleUpon

Related news and resources

Comments (10)

4Avatars v0.3.1 v0.3.1
Ruby on Rails: 'require_frameworks': no such file to load — net/https (RuntimeError) - develway.pl
May 28, 2010, 5:37 am

[...] wiadomości z tego serwisu Follow us on Twitter 49 śledzących RSS Feed 309 czytelników Ruby on Rails: 'require_frameworks': no such file to load — net/https (RuntimeError) 1 głosuj! Rozpocząłem właśnie swoją przygodę z Ruby on Rails. Pierwsze wrażenie [...]

4Avatars v0.3.1 v0.3.1
rob
June 4, 2010, 8:16 pm

thanks, was running into this problem too, and this fixed it. but how you went from “net/https” to “sudo apt-get install libopenssl-ruby1.8″ remains a mystery to me!

4Avatars v0.3.1 v0.3.1
rj
June 9, 2010, 1:55 am

Chalk it up to idiot policies for splitting packages by linux maintainers.

rake and irb aren’t included in the based ruby package ubuntu, really?

4Avatars v0.3.1 v0.3.1
arbolurbano
June 9, 2010, 10:45 pm

Just direct to the point… a lot of thanx

4Avatars v0.3.1 v0.3.1
nandan
June 12, 2010, 8:25 am

lot of thanx…………..

4Avatars v0.3.1 v0.3.1
Caroline
June 15, 2010, 6:41 am

lot of thanx…………..

4Avatars v0.3.1 v0.3.1
Davito
June 18, 2010, 11:10 pm

Gracias!!!! no entendia porque mi error.

4Avatars v0.3.1 v0.3.1
edap
July 30, 2010, 2:12 pm

thanks ;)

4Avatars v0.3.1 v0.3.1
MichaelG
August 23, 2010, 11:07 am

You saved my bacon! Perfect fix. THANK YOU! (Where can send the beer?)

4Avatars v0.3.1 v0.3.1
MichaelG
August 23, 2010, 11:09 am

Note: This error cropped up after upgrading to Ubuntu 10.04 LTS. Apparently the upgrade manager thought this library should be removed along with a couple hundred other that were legitimately obsoleted. My site came back up after adding this library back.

Write a comment

Karol Zielinski :: Just a tech stuff Hello, I'm Karol Zielinski, internet evangelist, an entrepreneur, project manager and a web developer from Gdynia, Poland. I like creative design, good advertisement, social media and all kind of stuff around the web.

Most popular posts

Much more links

Karol Zielinski    |   contact me
Gdynia, Poland
RSS - Just a tech stuff - python, java blog - web development blog Karol Zielinski on twitter Karol Zielinski on LinkedIn Karol Zielinski on facebook Karol Zielinski on delicious Karol Zielinski on digg Karol Zielinski on flickr Karol Zielinski on stumbleupon Karol Zielinski on technorati