Make it so rbenv doesn't try to run if it's not installed

pull/125/head
Mike Thornton 2012-05-07 15:48:38 -05:00
parent fe815f170d
commit bae8a1cd6f
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# Load rbebv, if you are using it
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
[[ `which rbenv` ]] && eval "$(rbenv init -)"
# Load the auto-completion script if rbenv was loaded.
source ~/.rbenv/completions/rbenv.bash
[[ -e ~/.rbenv/completions/rbenv.bash ]] && source ~/.rbenv/completions/rbenv.bash