Don't export ruby-build/bin to PATH
If ruby-build is installed as a rbenv plugin, ruby-build/bin directories automatically included.pull/1250/head
parent
7661b561bf
commit
6cc7b9112e
|
|
@ -1,9 +1,10 @@
|
|||
# Load rbebv, if you are using it
|
||||
|
||||
cite about-plugin
|
||||
about-plugin 'load rbenv, if you are using it'
|
||||
|
||||
pathmunge "$HOME"/.rbenv/bin
|
||||
[ -x `which rbenv` ] && eval "$(rbenv init -)"
|
||||
export RBENV_ROOT="$HOME/.rbenv"
|
||||
pathmunge "$RBENV_ROOT/bin"
|
||||
|
||||
[ -d "$HOME"/.rbenv/plugins/ruby-build ] && pathmunge "$HOME"/.rbenv/plugins/ruby-build/bin
|
||||
[[ `which rbenv` ]] && eval "$(rbenv init -)"
|
||||
|
||||
# Load the auto-completion script if rbenv was loaded.
|
||||
[[ -e $RBENV_ROOT/completions/rbenv.bash ]] && source $RBENV_ROOT/completions/rbenv.bash
|
||||
|
|
|
|||
Loading…
Reference in New Issue