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:
After adding [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" to the top of ~/.zshrc rather than the bottom I can confirm this has solved the issue for me.