removing rvm source as a function