Created
March 20, 2013 19:09
-
-
Save mtchavez/5207518 to your computer and use it in GitHub Desktop.
Ruby OpenSSL fix OSX 10.8.x Ruby 1.9.3
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
# Install requirements from rvm requirements | |
# Make sure apple-gcc42 is installed | |
# Get RVM self contained readline and openssl | |
rvm pkg install readline openssl | |
# Install Ruby with compiler flags passed | |
rvm install 1.9.3 -C "--with-gcc=gcc-4.2,--with-readline-dir=$rvm_path/usr,--with-openssl-dir=$rvm_path/usr" | |
# Install updated cert and move into RVM openssl dir | |
cd $rvm_path/usr/ssl | |
curl -O http://curl.haxx.se/ca/cacert.pem | |
mv cacert.pem cert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment