I am on osx 10.6.7 trying to run bundle install on a new rails 3.0.7 app and it keeps failing when trying to build the pg gem. It keeps telling me that I have need the devel
I also ran into this issue, for me the answer was updating RVM of all things.
rvm get head rvm install 1.9.2