Make rbenv work with manual install and homebrew install