 <p>First add <a href="https://raw.githubusercontent.com/rubygems/rubygems/master/lib/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem" rel="nofollow">this</a> certificate via script in this folder: {rubyfolder}\lib\ruby\2.1.0\rubygems\ssl_certs</p>