[Linux] Set up rbenv

This commit is contained in:
Ivan Malison 2017-08-23 11:10:46 -07:00
parent c01a2a975b
commit be95a1e609
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -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)"
} }