refactor rbenv