Created
May 2, 2013 18:49
-
-
Save moutten/5504410 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/bin/zsh | |
| # Fixes ssl certificate errors with Ruby 1.9.3 when using RVM | |
| if [[ -s $HOME/.rvm/usr/ssl ]] ; then curl http://curl.haxx.se/ca/cacert.pem -o ~/.rvm/usr/ssl/cert.pem ; fi | |
| if [[ -s /usr/local/etc/openssl ]] ; then curl http://curl.haxx.se/ca/cacert.pem -o /usr/local/etc/openssl/cert.pem ; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment