Rails 3 - nenhum arquivo para carregar - openssl

ao executar um servidor Rails, recebo o seguinte erro: nenhum arquivo para carregar - openssl

Tento uma solução que encontro online. Eu vou para ~ / .rvm / src / ruby-1.9.2-head / ext / openssl. Eu digito: ruby extconf.rb, mas recebo o seguinte:

=== OpenSSL for Ruby configurator ===
=== Checking for system dependent stuff... ===
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for assert.h... yes
=== Checking for required stuff... ===
checking for openssl/ssl.h... no
=== Checking for required stuff failed. ===
Makefile wasn't created. Fix the errors above.

Não consigo usar make nem make install.

questionAnswers(9)

yourAnswerToTheQuestion