code.prio code.prio - 1 year ago 94
Ruby Question

Error with Gem installtion in Windows system

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:\Users\***>gem install bundle
ERROR: Could not find a valid gem 'bundle' (>= 0), here is why:
Unable to download data from - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (

I hope there is a good solution.

Answer Source

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

2. Update the certificate based on the solution provided in the below link

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download