add support for rvm