getting regex error in zsh

after installing rvm on Ubuntu 12.10 
in zsh with prezto this is the error I am getting
__rvm_clean_path:12: failed to compile regex: Invalid content of \{\}
if any info is need do tell me.