From d8c9bf6f435bccadc1244f14c1ad43973402bb54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Thu, 2 May 2024 10:56:46 +0200 Subject: [PATCH] Do not symlink `/opt/rubies` into rbenv versions This is because entries in `/opt/rubies` are typically prefixed with "ruby-", but rbenv does not use that prefix. Also, this is a feature of the installer literally no one asked for. --- bin/rbenv-installer | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/rbenv-installer b/bin/rbenv-installer index f647a9c..850b39a 100755 --- a/bin/rbenv-installer +++ b/bin/rbenv-installer @@ -44,10 +44,6 @@ else git remote add -f -t master origin https://github.com/rbenv/rbenv.git git checkout -b master origin/master rbenv=~/.rbenv/bin/rbenv - - if [ ! -e versions ] && [ -w /opt/rubies ]; then - ln -s /opt/rubies versions - fi fi fi