I\'ve searched around a bit and can\'t seem to find any record of anyone else with this problem.
Whenever I try to run
$ brew update
I had a similar issue, when I Killed an install mid-way with Ctrl-D. Post that whenever I tried installing anything it gave the following error
uninitialized constant Homebrew::CLI::Parser::ARGV_WITHOUT_MONKEY_PATCHING
As a fix, I went to the directory I had where homebrew was installed, and reset the HEAD.
cd /usr/local/Homebrew
git status
git checkout .
And then it started working magically.