mxcl/homebrew — Issue #10396: Can't install haskell-platform on lion
Author: solomatov
Created: 2012-02-22 07:28:28+00:00
State: open

I have the following error log:https://gist.github.com/1883018
Here is the brew doctor output:
==> /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:

Consider editing your .bashrc to put /usr/local/bin
ahead of /usr/bin in your PATH.

I installed the latest Xcode from the app store.