Last active
December 24, 2015 12:59
-
-
Save pongstr/6801311 to your computer and use it in GitHub Desktop.
Fix for “OpenSSL certificate verify failed” with Ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ================================================================= | |
# Use RVM to Fix SSL Certificates | |
# ================================================================= | |
# Taken from Daniel Kehoe's Blog Post | |
# http://railsapps.github.io/openssl-certificate-verify-failed.html | |
# ================================================================= | |
# Update RVM | |
$ sudo rvm get stable | |
# Reload RVM | |
$ rvm reload | |
# Update SSL | |
$ rvm osx-ssl-certs update all | |
# Stay Healthy, automate updating of certs | |
$ sudo rvm osx-ssl-certs cron install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment