Move rake/rbenv outside dependencies class and make dependencies optional.