加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

在Windows上安装Ruby宝石时,“证书验证失败”错误

发布时间:2020-12-13 20:25:10 所属栏目:Windows 来源:网络整理
导读:我正在使用运行8.1并运行Ruby Installer 2.1.5的Windows PC. 在安装宝石时,我遇到错误: C: gem install bundleERROR: Could not find a valid gem 'bundle' (= 0),here is why: Unable to download data from https://rubygems.org/ - SSL_connect returne
我正在使用运行8.1并运行Ruby Installer 2.1.5的Windows PC.

在安装宝石时,我遇到错误:

C:&; gem install bundle
ERROR:  Could not find a valid gem 'bundle' (>= 0),here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://api.rubygems.org/latest_specs.4.8.gz)

我希望有一个很好的解决方案.

我也有这个问题.但是使用旧版本不是正确的解决方案.

这是解决这个证书错误的两个解决方案

1.使用http而不是https将允许您安装gem而不会出现该错误

gem install bundler -r –source 07000

2.根据以下链接中提供的解决方案更新证书

07001

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读