by Jared Beck, 2013-02-28
If your gemfile starts with
source 'https://rubygems.org'
and you upgrade to bundler 1.3, you may get a warning like
Fetching gem metadata from https://rubygems.org/.
Could not verify the SSL certificate for https://rubygems.org/.
This is a good thing! Don't just disable SSL, install the intermediate certificates from the Certificate Authority (CA). Browse over to rubygems.org, inspect their certificate, and you'll see it's signed by RapidSSL. You just need to teach OpenSSL about this CA.
gem update bundler
(You want ~> 1.3.2)- Download RapidSSL_CA_bundle.pem which contains two certs
- Split it into two files, one for each cert
sudo cp
those two certs into/System/Library/OpenSSL/certs
- That's the path on mac os 10.8, anyway.
- For other systems, see this list
- You're done. Bundle update should work now, and you're a bit safer!