Switches to rbenv, fixes dependencies