运行 Rails 服务器时,出现以下错误:没有要加载的文件 -- openssl
我尝试了我在网上找到的解决方案。我去~/.rvm/src/ruby-1.9.2-head/ext/openssl。我输入:ruby extconf.rb,但我得到以下信息:
=== 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.
我不能使用 make 或 make install。