diff --git a/modules/ruby/init.zsh b/modules/ruby/init.zsh index b5ab77d..b287cbb 100644 --- a/modules/ruby/init.zsh +++ b/modules/ruby/init.zsh @@ -17,11 +17,11 @@ if [[ -s "$HOME/.rvm/scripts/rvm" ]]; then # Load manually installed rbenv into the shell session. elif [[ -s "$HOME/.rbenv/bin/rbenv" ]]; then path=("$HOME/.rbenv/bin" $path) - eval "$(rbenv init - zsh)" + eval "$(rbenv init - --no-rehash zsh)" # Load package manager installed rbenv into the shell session. elif (( $+commands[rbenv] )); then - eval "$(rbenv init - zsh)" + eval "$(rbenv init - --no-rehash zsh)" # Install local gems according to operating system conventions. else