Use rbenv.

This commit is contained in:
Gea-Suan Lin
2018-02-19 03:50:24 +08:00
parent e55fd54a37
commit 6a11026424
2 changed files with 8 additions and 4 deletions

View File

@@ -14,5 +14,7 @@ fi
#
export N_PREFIX="$HOME"
#
# Put rvm at last position.
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
if [ -d "${HOME}/.rbenv" ]; then
export PATH="${HOME}/.rbenv/bin:${PATH}"
eval "$(rbenv init -)"
fi