Last active
August 29, 2015 13:58
-
-
Save niedhui/10381216 to your computer and use it in GitHub Desktop.
new openssl
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
sudo ./config --prefix=/usr/local shared | |
cd /usr/local/ssl | |
sudo curl -O http://curl.haxx.se/ca/cacert.pem | |
sudo mv cacert.pem cert.pem | |
sudo make | |
sudo make install | |
RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/local rbenv install 2.1.1 -k -f | |
ruby -ropenssl -e "puts OpenSSL::OPENSSL_VERSION" | |
gem install faraday | |
ruby -rfaraday -e 'Faraday.get("https://www.google.com")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment