added rvm support