sudo pacman -S --needed openssl-1.0 gcc
CC=gcc \
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig \
RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/lib/openssl-1.0" \
RUBY_EXTRA_CONFIGURE_OPTIONS="--with-openssl-dir=/usr/lib/openssl-1.0" \
CONFIGURE_OPTS="--with-openssl-dir=/usr/lib/openssl-1.0" \
asdf install ruby 2.3.1