在Ruby 2.4.1上更新证书时,RVM“传递给证书的空路径更新”

时间:2017-04-30 22:00:08

标签: ruby openssl ssl-certificate rvm

无法在ruby 2.4.1上安装宝石。

default-aligned addr:   0x1e40c20
1024-byte aligned addr: 0x1e41000

该基础证书发生了什么?

尝试卸载并重新安装在以前版本上运行的openssl。试过$ruby -v ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin14] $rvm osx-ssl-certs status all Selected SSL certs for: ruby-1.9.2-p290 cURL certificate bundle /usr/share/curl/curl-ca-bundle.crt not found Certificates bundle /usr/local/etc/openssl/cert.pem is up to date. Certificates bundle /etc/openssl/cert.pem is up to date. Certificates bundle is old. $gem install bundler ERROR: While executing gem ... (Gem::Exception) Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources $rvm osx-ssl-certs update all Selected SSL certs for: ruby-1.9.2-p290 cURL certificate bundle /usr/share/curl/curl-ca-bundle.crt not found Updating certificates bundle /usr/local/etc/openssl/cert.pem: Already up to date. Updating certificates bundle /etc/openssl/cert.pem: Already up to date. Updating certificates bundle : Empty path passed to certificates update, functions stack: requirements_osx_update_openssl_cert_run __rvm_osx_ssl_certs_update_for_path __rvm_osx_ssl_certs_run_filter_and_run __rvm_osx_ssl_certs_run __rvm_osx_ssl_certs_update __rvm_osx_ssl_certs source __rvm_run_wrapper rvm Failed. 。没有运气。

1 个答案:

答案 0 :(得分:0)

在我的情况下看起来我有一个导致问题的openssl版本。解决方案是删除它:

brew uninstall --force openssl098