Skip to content

Instantly share code, notes, and snippets.

@denisoster
Last active August 6, 2018 09:02
Show Gist options
  • Save denisoster/0f3026039b5fbeece5010c9b5d0382e8 to your computer and use it in GitHub Desktop.
Save denisoster/0f3026039b5fbeece5010c9b5d0382e8 to your computer and use it in GitHub Desktop.
How to install Ruby 2.1.5 OpenSSL
curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt > ruby2.x-openssl.patch
RUBY_APPLY_PATCHES=$'ruby2.x-openssl.patch' PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig RUBY_EXTRA_CONFIGURE_OPTIONS="--with-openssl-dir=/usr/lib/openssl-1.0" asdf install ruby 2.1.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment