updates for rvm support