Commit 6b639919 by Jason Karns

rbenv ensures RBENV_ROOT is set for us

parent 0cd6f9fb
...@@ -24,10 +24,6 @@ ...@@ -24,10 +24,6 @@
set -e set -e
[ -n "$RBENV_DEBUG" ] && set -x [ -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 # Add `share/ruby-build/` directory from each rbenv plugin to the list of
# paths where build definitions are looked up. # paths where build definitions are looked up.
shopt -s nullglob shopt -s nullglob
......
...@@ -23,10 +23,6 @@ usage() { ...@@ -23,10 +23,6 @@ usage() {
[ -z "$1" ] || exit "$1" [ -z "$1" ] || exit "$1"
} }
if [ -z "$RBENV_ROOT" ]; then
RBENV_ROOT="${HOME}/.rbenv"
fi
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
usage 0 usage 0
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment