Run brew as non-root user.

When ruby-install is run with `sudo` or as root it fails with the message: Error: Cowardly refusing to `sudo brew install`.