Support `sudo ruby-install` with brew on OS X.

When ruby-install is run with `sudo` or as root it fails with the message: Error: Cowardly refusing to `sudo brew install`. Fix by running `brew` as the brew-file (/usr/local) owner rather than as root.