Skip to content

Instantly share code, notes, and snippets.

@magynhard
Created May 21, 2023 19:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magynhard/daa2063e2cada714ad75ba49347c41d5 to your computer and use it in GitHub Desktop.
Save magynhard/daa2063e2cada714ad75ba49347c41d5 to your computer and use it in GitHub Desktop.
Install Ruby with RVM and OpenSSL support on Manjaro

Update to current ruby versions on Manjaro Linux when using RVM and no precompiled binary is available.

Prerequisites

sudo pacman -S gcc openssl-1.1

Install

Replace Ruby version at the end of this command with the version you want to install.

CC=gcc CXX=g++ PKG_CONFIG_PATH=/usr/lib/openssl-1.1/pkgconfig/:/usr/lib/pkgconfig/ RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/lib/openssl-1.1 rvm install 3.0.6
@f-asa
Copy link

f-asa commented Dec 21, 2023

thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment