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
E
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.