robbyrussell/oh-my-zsh — pull request #888 by dmarkow (2012-01-30 22:56:32+00:00)
Title: rbenv plugin now properly finds homebrew-installed rbenv (fixes #878)

The current rbenv plugin looks in `$HOME/.rbenv`, `/usr/local/rbenv`, and `/opt/rbenv` for a `bin` directory. However, when rbenv is installed with homebrew, it gets installed directly in `/usr/local/bin`. Updated plugin looks for homebrew rbenv if the first search fails. This will fix #878.