Skip to content

Instantly share code, notes, and snippets.

@brainopia
Created October 2, 2012 06:55
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brainopia/3816929 to your computer and use it in GitHub Desktop.
Save brainopia/3816929 to your computer and use it in GitHub Desktop.
Fix readline/openssl extension
cd $rvm_path/src/${MY_RUBY_HOME##*/}/ext/openssl
rvm pkg install openssl
ruby extconf.rb -- --with-openssl-dir="$rvm_path/usr"
make install
cd $rvm_path/usr/ssl
curl http://curl.haxx.se/ca/cacert.pem > cert.pem
cd $rvm_path/src/${MY_RUBY_HOME##*/}/ext/readline
rvm pkg install readline
ruby extconf.rb -- --with-readline-dir="$rvm_path/usr"
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment