Refactoring rbenv