Re: Webrick ''require_frameworks'' message

Jon Reid
Wed, 22 Apr 2009 15:49:52 -0000

For those of you who struggled through the message boards to try and fix
this here is what fixed it for me.  I am installing and running Ruby on
Rails for the first time and running through one of the online
tutorials.  I am using Ubuntu and kept getting the error message of the
original post.

1.  "su" to become root and do "apt-get install
libopenssl-ruby" to get
all the whole library.
2.  To get the header files, still as root, do "apt-get install
ruby1.8-dev" which gives the development headers.
3.  Now you can go to the "ruby_directory/ext/openssl" and run
"ruby
extconf.rb" and it should work with no problem.  Then "run make".
Then
"make install".

I kept trying to go to the ext/openssl directory and run the "ruby
extconf.rb" and it kept telling me to go to hell!.  Once you run those
two apt-get''s it should have everything you need to install openssl.

Oh to clarify on the directory "~/ruby-1.8.7-p72/ext/openssl$" so it
is
just the latest ruby package installed to the home directory.

Hope that helps the new users!