Wednesday, 9 November 2016

Ruby Gems installation - Certificate Verify Failed (WINDOWS)

If you get an error about the certificate when you try to install ruby gems on Windows, like this one:

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed

And nothing has worked, try the following:

  1. Download the latest ruby gems .ZIP file from here
  2. Unzip into a directory and cd there.
  3. Install with: ruby setup.rb (you may need admin/root privileges)

After that try to install your gems again.

No comments:

Post a Comment