You can clone with
HTTPS or Subversion.
The dialyzer executable which comes with the bottled Erlang versions seems to want files from an older Erlang version (R15B) rather than the installed one (R15B02). This makes it impossible to use.
Checking whether the PLT /Users/$USER/.dialyzer_plt is up-to-date...
dialyzer: Not a regular file: /usr/local/Cellar/erlang/R15B/lib/erlang/lib/compiler-4.8/ebin/beam_asm.beam
brew doctor and brew --config output please.
--- ~ » brew doctor
Your system is raring to brew.
--- ~ » brew --config
CPU: quad-core 64-bit sandybridge
OS X: 10.8.2-x86_64
Xcode: 4.4 (guessed)
LLVM-GCC: build 2336
Clang: 4.0 build 421
System Ruby: 1.8.7-358
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/1.9.3-p286/bin/ruby
Works fine here on a fresh 10.8.2 install. Perhaps it is your ~/.dialyzer_plt file that contains references to the old Erlang version?
That was indeed the issue. Thanks!