add support for rvm and rbenv