Mac OS Mojave上的Ruby 2.4:找不到图像.与openssl.bundle相关 [英] Ruby 2.4 on Mac OS Mojave : image not found ... related to openssl.bundle
本文介绍了Mac OS Mojave上的Ruby 2.4:找不到图像.与openssl.bundle相关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
所以我在Mac OS Mojave上将Ruby升级到了2.4.9。
我在安装gem时遇到问题.
proj$ gem install google-cloud-vision
ERROR: Loading command: install (LoadError)
dlopen(/Users/mc/.rbenv/versions/2.4.2/lib/ruby/2.4.0/x86_64-darwin16/openssl.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /Users/mc/.rbenv/versions/2.4.2/lib/ruby/2.4.0/x86_64-darwin16/openssl.bundle
Reason: image not found - /Users/mc/.rbenv/versions/2.4.2/lib/ruby/2.4.0/x86_64-darwin16/openssl.bundle
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
proj$ ruby -v
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16]
我已经进行了一系列BREW更新&;&;BREW升级,但我被卡住了……有什么建议吗?
Ruby
根据评论:删除推荐答案并重新安装。
这篇关于Mac OS Mojave上的Ruby 2.4:找不到图像.与openssl.bundle相关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文