about uscontact

How to solve SSL error of RubyGems

Author: zemna
Date: April 17, 2021
Share this:

When you exeucte gem command, you may see SSL error like bellow.

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

This error is produced because of changes in rubygems.org infrastructure.

How to solve it?

1. Downlaod update package

Download update package from bellow link.

Download : rubygems-update-2.6.7.gem

2. Update RubyGems using Command Prompt

Execute Command Prompt and go to download folder. (ex. C:)

And execute bellow command.

C:>gem install --local C:rubygems-update-2.6.7.gem
C:>update_rubygems --no-ri --no-rdoc

After this, execute gem --version to check new version of RubyGems.

3. Uninstall rubygems-update gem

You can uninstall rubygems-update gem.

C:>gem uninstall rubygems-update -x
Removing update_rubygems
Successfully uninstalled rubygems-update-2.6.7


Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *


Professional software development agency estalished in Indonesia. We offers website setup, web application development, fulfillment service, and etc.
Follow us
Follow us to get latest news and tutorials.
2022 - Copyright, All Rights Reserved, Made by ZEMNA.NET with ❤️