only call rbenv if it exists

This commit is contained in:
Sami Samhuri 2011-11-26 23:27:27 -08:00
parent 17cb676d5f
commit 519452f71a

View file

@ -74,7 +74,9 @@ else
export VISUAL=vi
fi
eval "$(rbenv init -)"
if command_exists rbenv; then
eval "$(rbenv init -)"
fi
# 2. Limits
# =========