refactoring around _setup_default_environment.
add `rbenv:setup_default_environment`.