use rbenv if available

This commit is contained in:
Thomas Ruoff
2016-07-25 22:41:21 +02:00
parent 4d7d3d7d81
commit 086b787da0

View File

@@ -7,6 +7,12 @@ export EDITOR=$(which vim)
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
# rbenv
if [ -s "$HOME/.rbenv/bin/rbenv" ] ; then
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
fi
########################
# Dist related settings
########################