charlax/homebrew — comment on commit a5479f4eea03e2ed3b93193a225c18c25848fb42
File:  line 0
By teamgeo:

Thanks for your reply, it is a PATH issue indeed. Mac OSX Lion includes Postgresql in the system now by default. If you do a ```which psql``` you'll see ```usr/bin/psql``` instead of ```usr/local/bin/psql``` which is HomeBrew's correct one.

I fixed this by editing ```/etc/paths``` and putting ```/usr/local/bin``` to the head of the file. Now the pgrouting formula works!