首页 > 解决方案 > 未找到 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

标签: rubyrbenv

解决方案


推荐阅读