在运行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。
https://stackoverflow.com/questions/3464098
复制相似问题