refactors rake tasks, adds rvm dependencies in postinstall