add guard in case rvm is not installed