I want to change ruby version by rbenv, but I can't reset my 'which ruby'. Do anyone know how to change?
I run 'which ruby' → /usr/bin/ruby I run 'rbenv' → 2.6.5
OS : macOS Big Sur shell : zsh
Ensure there is something like this in your ~/.zshrc file:
~/.zshrc
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
2.1m questions
2.1m answers
63 comments
56.7k users