https://github.com/mxcl/homebrew/commit/cf66ef7d9743e870629359fba0b01fcca8687abf may have fixed the problem.