简体   繁体   English

bundle install:Gem :: RemoteFetcher :: FetchError:SSL:...证书验证失败

[英]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.

相关问题 “bundle install”会在每个gem上导致Gem :: RemoteFetcher :: FetchError - “bundle install” causes Gem::RemoteFetcher::FetchError on each gem Gem :: RemoteFetcher :: FetchError与安装捆绑程序gem - Gem::RemoteFetcher::FetchError with installing bundler gem 在执行gem时出现……(Gem :: RemoteFetcher :: FetchError)尝试安装Rails时出现503错误 - Getting a While executing gem … (Gem::RemoteFetcher::FetchError) 503 error when attempting to install rails Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 读取 - Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read Gem :: RemoteFetcher :: FetchError与gems.github.com - Gem::RemoteFetcher::FetchError with gems.github.com reCAPTCHA - 使用 Devise 和 Recaptcha gem 验证 SSL 证书失败错误 - reCAPTCHA - SSL certificate verify failed error with Devise and Recaptcha gem SSL_connect returned=1 errno=0 state=error: certificate verify failed 我也尝试安装 gem openssl 但不能 - SSL_connect returned=1 errno=0 state=error: certificate verify failed also I tried to install gem openssl but can't 无法在mac osx上更新gems - Gem :: RemoteFetcher :: FetchError - unable to update gems on mac osx - Gem::RemoteFetcher::FetchError 频繁获取Gem RemoteFetcher :: FetchError。 任何解决方法? - Getting frequent Gem RemoteFetcher::FetchError. Any workarounds? 红宝石安装宝石-SSL连接返回的证书验证失败 - ruby install gems - SSL connect returned certificate verify failed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM