[英]bundle install: Gem::RemoteFetcher::FetchError: SSL:…certificate verify failed
In Windows, when upgrading to rails. 在Windows中,升级到rails时。 4.1.0.beta1,
bundle install
creates an error with gem minitest: 4.1.0.beta1,
bundle install
使用gem minitest创建错误:
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://s3.amazonaws.com/production.s3.r
ubygems.org/gems/minitest-5.2.1.gem)
Similar error happened before and we usually got around by trying to install an older version. 之前发生过类似的错误,我们通常会尝试安装旧版本。 But this time minitest 5.2.0 has the same error.
但这次最小的5.2.0有同样的错误。 What's the cause of this error and how to fix it?
这个错误的原因是什么以及如何解决?
@bjhaid needs to write his comment above here as an answer, as that's the answer. @bjhaid需要在上面写下他的评论作为答案,因为这就是答案。
"change source ' https://rubygems.org ' to source ' http://rubygems.org ' in your Gemfile" “将源代码' https://rubygems.org '更改为您的Gemfile中的源代码' http://rubygems.org '”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.