Recently I tried to update my ruby version due to a warning message (see below).
Now I get the following warning message when I start my iterm2:
Warning:
If you find a line after User configuration
in the ~/.zshrc file like this:
#export PATH="/Users/robinwen/.rvm/gems/ruby-1.9.3-p551@robin/bin:/Users/robinwen/.rvm/gems/ruby-1.9.3-p551@global/bin:/Users/robinwen/.rvm/rubies/ruby-1.9.3-p551/bin:/Users/robinwen/.rvm/bin:/usr/local/git/bin:/sw/bin:/usr/local/bin:/usr/local:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin/"
You should comment this line, and add following line:
export PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
Good luck!