__rvm_cleanse_variables: function definition file not found

I started getting this error in OS X after I switched my Terminal shell from bash to zsh (with oh-my-zsh).

~/.rvm/scripts/initialize:50: __rvm_cleanse_variables: function definition file not found

To fix, run:

$ rm -f ~/.zcompdump

One thought on “__rvm_cleanse_variables: function definition file not found”

Leave a Reply

Your email address will not be published. Required fields are marked *