28th Jul, 2009

`require_frameworks’: no such file to load — openssl (RuntimeError) [Ruby on Rails]

If you face an error like this;

/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:269:in `require_frameworks’: no such file to load — openssl (RuntimeError) from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:134:in `process’

Follow these steps:

1. yum install openssl
2. yum install openssl-devel
3. cd /ruby_install_dir/ext/openssl
4. ruby extconf.rb
5. make
6. make install

Responses

hye..

I tried this step,but there is no directory name ext/openssl on my ruby directory..so..Any suggestion from you??

Hi Alifazman, hope you have successfully installed openssl, openssl-devel.

Now, find the openssl folder, Use the following command to do so;

find -name ‘openssl’ /

and then proceed from step 4.

Pls provide OS Details, if it is still an issue.

Leave a response

Your response:

Categories and Tags

Advertising