RVM is not a function, selecting rubies with 'rvm use ...' will not work.

Environment : Mac, zsh, RVM

Add this line to ~/.zshrc, and you can use rvm as function.

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"  # This loads RVM