I am using a Windows PC running 8.1 and working with Ruby Installer 2.1.5.
While installing a gem I am getting a error:
C:\> gem install bundle
ERROR: Could not find a valid gem 'bundle' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
I had this problem too. But using the older version is not the proper solution.
Here is the two solution help to fix this certificate error
1. Using the http instead of https will allow you to install the gem without that error
gem install bundler -r --source http://rubygems.org/
2. Update the certificate based on the solution provided in the below link