Paul
Paul

Reputation: 26660

Ruby tries to download from https://api.rubygems.org even with source key

I downloaded Ruby installer for Windows, Installed Ruby, then tried

gem update --system

ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

gem update --system --source http://rubygems.org

Updating installed gems

ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)

SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

How to force it to use HTTP version of the host?

Upvotes: 1

Views: 339

Answers (1)

robert
robert

Reputation: 4867

Hi sorry for the late response. Having the same problem and I've gotten to the point where it's actually api.rubygems.org sending the redirect to https!

Upvotes: 0

Related Questions