在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而不会出现该错误
2.根据以下链接中提供的解决方案更新证书
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 使用Windows运行时模板库(WRL)的进程外经典COM EXE
- 灾难恢复 – 应备份哪些Windows Server角色系统状态?
- Windows server 2016 活动目录备份及恢复
- windows-server-2008 – Server 2008 R2到Server 2016选项
- windows – _CrtCheckMemory用法示例
- windows – 可以在屏幕大小/屏幕外调整窗口大小吗?
- 在Windows环境下搭建Snort+BASE入侵检测系统
- win7系统关闭445端口
- 在Windows Server中使用IPsec时,“主”模式和“快速”模式有
- windows – 删除在同一进程中为独占访问而打开的文件