[英]Not able to bundle with ruby installed with rbenv
我已经使用rbenv
安装了ruby 1.9.3-p484
版本。 我使用homebrew
安装了rbenv
。 我不确定如何解决此问题。 我在OS X El Capitan上。
运行bundle
时出现以下错误:
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.
卸载红宝石,然后尝试像重新安装它
CONFIGURE_OPTS="--with-opt-dir=/usr/local/opt/openssl" rbenv install 1.9.3-p484
或者试试这个
RUBY_CONFIGURE_OPTS=--with-openssl-dir=/opt/local rbenv install 1.9.3-p484
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.