Update conditional rbenv rehashing and choosing default version