Skip to content

Instantly share code, notes, and snippets.

@joaomarcos96
Created January 6, 2021 17:22
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?

Installing Ruby 2.3.x in Arch Linux

Have openssl-1.0 and gcc installed

sudo pacman -S --needed openssl-1.0 gcc

Install Ruby 2.3.x with gcc and openssl path defined

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment