证书验证在“gem install foundation”中失败 [英] Certificate Verify Failed in "gem install foundation"
问题描述
我不断收到以下错误,我不知道如何解决它:
p>无法找到有效的gem'foundation'(> = 0),原因如下:
无法从 https://rubygems.org/ - SSL_connect返回= 1 errno = 0 state = SSLv3读取服务器证书B:证书验证失败( https://api.rubygems.org/latest_specs.4.8.gz )
任何想法?
试试这个(快速但不安全)
宝石来源 - 取消https://rubygems.org/
宝石来源-a http://rubygems.org/
注意:通过HTTP下载将不加密
Trying to install Foundation after installing nodejs, ruby, and git plus bower.
I keep getting the following error and I dont know how to fix it:
Could not find a valid gem 'foundation' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/latest_specs.4.8.gz)
Any ideas?
Try this (quick but insecure)
gem sources --remove https://rubygems.org/
gem sources -a http://rubygems.org/
NOTE : Downloading over HTTP will be unencrypted
这篇关于证书验证在“gem install foundation”中失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!