Skip to content

Commit 6b63991

Browse files
committed
rbenv ensures RBENV_ROOT is set for us
1 parent 0cd6f9f commit 6b63991

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

bin/rbenv-install

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@
2424
set -e
2525
[ -n "$RBENV_DEBUG" ] && set -x
2626

27-
if [ -z "$RBENV_ROOT" ]; then
28-
RBENV_ROOT="${HOME}/.rbenv"
29-
fi
30-
3127
# Add `share/ruby-build/` directory from each rbenv plugin to the list of
3228
# paths where build definitions are looked up.
3329
shopt -s nullglob

bin/rbenv-uninstall

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ usage() {
2323
[ -z "$1" ] || exit "$1"
2424
}
2525

26-
if [ -z "$RBENV_ROOT" ]; then
27-
RBENV_ROOT="${HOME}/.rbenv"
28-
fi
29-
3026
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
3127
usage 0
3228
fi

0 commit comments

Comments
 (0)