mxcl/homebrew — pull request #11558 by staticfloat (2012-04-10 16:33:18+00:00)
Title: Consistently throw FormulaUnavailableError

When passing in a pathname, if the pathname was a formula path, but lacking the ".rb" extension, the basename of the path was valid, but the path itself was not.

A more better version of [#11548](https://github.com/mxcl/homebrew/pull/11548)