ruby - 未找到 Rbenv 映像,但已安装版本
问题描述
当我跑步时,rbenv versions
我得到:
system
2.3.1
2.4.1
2.4.2
2.4.3
2.5.0
2.5.1
* 2.6.3 (set by /Users/me/Documents/procore/.ruby-version)
但是当我跑步时,gem install bundler
我得到:
ERROR: Loading command: install (LoadError)
dlopen(/Users/me/.rbenv/versions/2.6.3/lib/ruby/2.6.0/x86_64-darwin18/openssl.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /Users/me/.rbenv/versions/2.6.3/lib/ruby/2.6.0/x86_64-darwin18/openssl.bundle
Reason: image not found - /Users/me/.rbenv/versions/2.6.3/lib/ruby/2.6.0/x86_64-darwin18/openssl.bundle
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
解决方案
推荐阅读
- python - “无法使用提供的凭据登录。” 尝试登录我的用户时
- python - 如何将月份添加到日期时间对象?
- r - igraph广度优先搜索(bfs)回调函数R
- gnuradio - 使用 GNURadio 生成 IQ 文件的最佳方法是什么,这些文件在由矢量信号发生器循环时是相位连续的?
- web-services - 如何禁用肥皂网络服务的详细错误消息?
- python - Jupyter Notebook 和建模
- java - 将 JSON 对象的键与字符串进行比较
- google-chrome - 如何在第二个驱动器中安装 Google Chrome?
- javascript - 无法让图像和标题在 HTML/CSS/Javascript 中正确浮动
- c++ - auto & vs auto &&:我们应该在 for 循环中使用哪一个