move rbenv init into the rbenv if statement