Made source of rvm more generic