Updated method check if rvm installed