Commit 6b639919 authored by Jason Karns's avatar Jason Karns
Browse files

rbenv ensures RBENV_ROOT is set for us

parent 0cd6f9fb
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -24,10 +24,6 @@
set -e
[ -n "$RBENV_DEBUG" ] && set -x

if [ -z "$RBENV_ROOT" ]; then
  RBENV_ROOT="${HOME}/.rbenv"
fi

# Add `share/ruby-build/` directory from each rbenv plugin to the list of
# paths where build definitions are looked up.
shopt -s nullglob
+0 −4
Original line number Diff line number Diff line
@@ -23,10 +23,6 @@ usage() {
  [ -z "$1" ] || exit "$1"
}

if [ -z "$RBENV_ROOT" ]; then
  RBENV_ROOT="${HOME}/.rbenv"
fi

if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
  usage 0
fi