mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Strip out stuff I no longer use from ruby setup
- I install rbenv via Homebrew now, so no need to check for it's executable in ~/.rbenv/bin anymore. - I haven't used rvm since around 2011 or so, not going back to it anytime soon.
This commit is contained in:
@@ -47,18 +47,8 @@ if [ -n "$BASH_VERSION" ]; then
|
||||
alias bcn="bundle clean"
|
||||
fi
|
||||
|
||||
# Load rbenv or RVM depending on which is available
|
||||
if [ -d "$HOME/.rbenv/bin" ]; then
|
||||
path_prepend "$HOME/.rbenv/bin"
|
||||
fi
|
||||
|
||||
if [ -n "$(command -v rbenv)" ]; then
|
||||
eval "$(rbenv init -)"
|
||||
fi
|
||||
|
||||
if [ -s "$HOME/.rvm/scripts/rvm" ]; then
|
||||
path_append "$HOME/.rvm/bin"
|
||||
source "$HOME/.rvm/scripts/rvm"
|
||||
eval "$(rbenv init --no-rehash -)"
|
||||
fi
|
||||
|
||||
# lunchy auto-completion
|
||||
|
||||
Reference in New Issue
Block a user