This is just a short post that explains how to fix missing CA certificates in ruby. If you even have issues with SSL the solution is NOT to disable SSL.
Instead fetch the cacerts once:
And then tell ruby where to find it:
ENV['SSL_CERT_FILE'] = File.expand_path('../cacert.pem', __FILE__)
UPDATE: Actually a more comprehensive resource is available here: http://railsapps.github.io/openssl-certificate-verify-failed.html