mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 10:26:42 +00:00
Make ruby setup compatible with homebrew installed rbenv
This commit is contained in:
@@ -46,10 +46,13 @@ fi
|
||||
# Load rbenv or RVM depending on which is available
|
||||
if [ -d "$HOME/.rbenv/bin" ]; then
|
||||
path_prepend "$HOME/.rbenv/bin"
|
||||
# if [[ ":$PATH:" != *":$HOME/.rbenv/shims:"* ]]; then
|
||||
fi
|
||||
|
||||
if [ -n "$(command -v rbenv)" ]; then
|
||||
eval "$(rbenv init -)"
|
||||
# fi
|
||||
elif [ -s "$HOME/.rvm/scripts/rvm" ]; then
|
||||
fi
|
||||
|
||||
if [ -s "$HOME/.rvm/scripts/rvm" ]; then
|
||||
path_append "$HOME/.rvm/bin"
|
||||
source "$HOME/.rvm/scripts/rvm"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user