Skip to content

Instantly share code, notes, and snippets.

@niedhui
Last active August 29, 2015 13:58
Show Gist options
  • Save niedhui/10381216 to your computer and use it in GitHub Desktop.
Save niedhui/10381216 to your computer and use it in GitHub Desktop.
new openssl
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