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.
Download update package from bellow link.
Download : rubygems-update-2.6.7.gem
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.
You can uninstall rubygems-update
gem.
C:>gem uninstall rubygems-update -x
Removing update_rubygems
Successfully uninstalled rubygems-update-2.6.7