ZSH complains about RVM __rvm_cleanse_variables: function definition file not found

macos, ruby, rvm, zsh

Solution

Running the following solved the problem:

`rm ~/.zcompdump*`

Note: The * is incase there are multiple .zcompdump files.

Problem

When using the latest ZSH and RVM on Mac OS X 10.7.4 ZSH complains about this: `__rvm_cleanse_variables: function definition file not found`

Original source