forked from colonelpanic/dotfiles
[Linux] Set up rbenv
This commit is contained in:
parent
c01a2a975b
commit
be95a1e609
@ -111,6 +111,8 @@ function _ruby_setup {
|
|||||||
then
|
then
|
||||||
export RBENV_ROOT="$(brew --prefix rbenv)"
|
export RBENV_ROOT="$(brew --prefix rbenv)"
|
||||||
add_to_path "$RBENV_ROOT/bin"
|
add_to_path "$RBENV_ROOT/bin"
|
||||||
|
else
|
||||||
|
add_to_path "$HOME/.rbenv/shims"
|
||||||
fi
|
fi
|
||||||
hash rbenv 2> /dev/null && eval "$(rbenv init - --no-rehash)"
|
hash rbenv 2> /dev/null && eval "$(rbenv init - --no-rehash)"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user