无法更新Ruby或安装Gems

时间:2015-11-21 16:15:22

标签: ruby

当我尝试gem update --systemgem install "gem"时,我收到此错误...

ERROR:  Loading command: update (LoadError)
dlopen(/usr/local/var/rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-darwin14/openssl.bundle, 9): Library not loaded: /usr/local/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/var/rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-darwin14/openssl.bundle
Reason: image not found - /usr/local/var/rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-darwin14/openssl.bundle
ERROR:  While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass

尝试重新安装所有东西,但没有一件事能奏效 这是什么意思,我该如何解决?

1 个答案:

答案 0 :(得分:0)

评论(对不起,但我没有足够的声誉以评论形式撰写)

这个问题可能就是你要找的东西 ruby - Library not loaded: /opt/local/lib/libssl.1.0.0.dylib (LoadError) - Stack Overflow