Skip to content

Instantly share code, notes, and snippets.

@boxmo
Last active August 28, 2020 18:05
Show Gist options
  • Save boxmo/0b0d05b1d66ade4d7503513bdff45620 to your computer and use it in GitHub Desktop.
Save boxmo/0b0d05b1d66ade4d7503513bdff45620 to your computer and use it in GitHub Desktop.
How to install old ruby versions on arch linux using asdf - Fix SSLV3 error

Install the core/openssl-1.0 and aur/gcc5 packages

curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt > ruby2.x-openssl.patch
CC=gcc-5 PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig RUBY_EXTRA_CONFIGURE_OPTIONS="--with-openssl-dir=/usr/lib/openssl-1.0" RUBY_APPLY_PATCHES=~/ruby2.x-openssl.patch asdf install ruby 2.0.0-p648 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment