From c40bdcaaa9f8477424cf38d2281f9e9e2b1b272f Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sun, 21 Apr 2024 19:15:40 +0200 Subject: [PATCH] update arch linux notes page (still draft) --- content/notes/archlinux/index.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/content/notes/archlinux/index.md b/content/notes/archlinux/index.md index a77f65b..4b65093 100644 --- a/content/notes/archlinux/index.md +++ b/content/notes/archlinux/index.md @@ -1,7 +1,7 @@ --- title: Archlinux date: 2023-11-29T20:33:48+0100 -lastmod: 2024-04-14T09:49:14+0000 +lastmod: 2024-04-21T17:15:40+0000 tags: - archlinux @@ -147,4 +147,24 @@ $ export WINEARCH=win32 $ wine wineboot ~~~ +## Installing multiple ruby versions + +I came to the point to test an older website from me and it was made with +Jekyll which I had to install quickly. Problems occured with OpenSSL and I +finally managed to install ruby version 2.7.1 and 3.0.0 in my home directory. + +~~~console +$ rvm pkg install openssl +$ rvm install "ruby-3.0.0" --with-openssl-dir=$HOME/.rvm/usr +$ rvm install "ruby-2.7.1" --with-openssl-dir=$HOME/.rvm/usr +~~~ + +Later in the desired directory, I re-installed the gems because with ruby 2.7.1 +I got another "Directory not found" error. + +I had to do this because I used ruby 2.7.1 on one website. + +~~~console +$ bundle install --force +~~~