繁体   English   中英

无法与安装了rbenv的ruby捆绑在一起

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM