brew install gtk+
としてインストールしようとしたら、以下のようなエラーが出ました
Error: undefined method `=~' for #<Pathname:/usr/local/Library/Formula/pkg-config.rb> Please report this bug: https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue /usr/local/Library/Homebrew/formula.rb:426:in `factory' /usr/local/Library/Homebrew/formula_installer.rb:38:in `block (2 levels) in install' /usr/local/Library/Homebrew/extend/ARGV.rb:121:in `filter_for_dependencies' /usr/local/Library/Homebrew/formula_installer.rb:34:in `block in install' /usr/local/Library/Homebrew/formula_installer.rb:30:in `each' /usr/local/Library/Homebrew/formula_installer.rb:30:in `install' /usr/local/Library/Homebrew/cmd/install.rb:103:in `block in install_formulae' /usr/local/Library/Homebrew/cmd/install.rb:86:in `each' /usr/local/Library/Homebrew/cmd/install.rb:86:in `install_formulae' /usr/local/Library/Homebrew/cmd/install.rb:24:in `install' /usr/local/bin/brew:84:in `<main>'
バージョン関係のエラーかなーと思いつつ、面倒くさかったので/usr/local/Library/Homebrew/formula.rbの426行目を以下のように変更
# if name =~ %r[(https?|ftp)://] if %r[(https?|ftp)://] =~ name