added support for rvm and npm