Skip to content

Commit

Permalink
Do not symlink /opt/rubies into rbenv versions
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mislav committed May 2, 2024
1 parent f28870a commit d8c9bf6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions bin/rbenv-installer
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d8c9bf6

Please sign in to comment.