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