"certificate verify failed" error when installing Ruby gems on Windows "certificate verify failed" error when installing Ruby gems on Windows windows windows

"certificate verify failed" error when installing Ruby gems on Windows


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

https://gist.github.com/luislavena/f064211759ee0f806c88


I had this problem, it seems the problem is due to ruby installer version (2...) , I tried version 1.9.3 and the problem was solved.