使用rvm,我将ruby升级到1.9.3-p392,还添加了2.0.0,每当我在运行bundle命令时try 使用这个版本时,我都会遇到这个错误.
Could not load OpenSSL.
You must recompile Ruby with OpenSSL support or change the sources in your Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL using RVM are
available at rvm.io/packages/openssl.
关于如何解决这个问题,我遵循了几个不同的说明.我已经try 过删除该版本并使用rvm选项安装它
--with-openssl-dir=$HOME/.rvm/usr
我已经安装了带有rvm和macports的OpenSSL.两者都没有帮助解决这个问题.我甚至用以下方法更改了ssl证书的文件位置:
export SSL_CERT_FILE=/Users/DarkLord/.rvm/usr/ssl/cert.pem
无论我做什么,我都会继续犯错误.