Above doesn\'t work first time, works 2nd time.
Try to set ruby version to 2.0.0 for any new shell windows.
Doing
$ rvm use 2.0.0 --default
<
I ended up removing ~/.profile
, ~/.bashrc
and ~/.zshrc
.
Basically I only kept ~/.bash_profile
on my mac. And it works.
I think in my case, there are:
export PATH="$PATH:$HOME/.rvm/bin" [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
in these files, and those duplicate settings confused rvm