fixed rvm support by using do command

closes #29