Don't use Homebrew for rbenv

* Use the same Git/GitHub approach for Mac as we do for Linux.
* This makes upgrading easier via `git pull`.
* Add idempotency `if` guards.
* Use bash-preferred bracket-bracket style.

http://robots.thoughtbot.com/the-unix-shells-humble-if