Here's how you can fix it on Windows:
[To see links please register here]
(created by Fletcher Nichol)
*Excerpt:*
> ## The Manual Way (Boring)
>
> Download the `cacert.pem` file from
[To see links please register here]
. Save this file to `C:\RailsInstaller\cacert.pem`.
>
> Now make ruby aware of your certificate authority bundle by setting `SSL_CERT_FILE`. To set this in your current command prompt session, type:
>
> set SSL_CERT_FILE=C:\RailsInstaller\cacert.pem
>
> To make this a permanent setting, add this in your [control panel](
[To see links please register here]
).