add rvm guard