Created
February 26, 2013 16:14
-
-
Save mortenjohs/5039692 to your computer and use it in GitHub Desktop.
Ruby, rvm, and root certificates
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
mkdir $rvm_path/usr/ssl | |
cd $rvm_path/usr/ssl | |
curl -O http://curl.haxx.se/ca/cacert.pem # download certificates | |
mv cacert.pem cert.pem # move them in place | |
touch ~/.bashrc # create .bashrc if it does not exist | |
echo 'export SSL_CERT_FILE=~/.rvm/usr/ssl/cert.pem' >> ~/.bashrc # add key to environment | |
source ~/.bashrc # or close your consoles |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment