My DB is PostgreSQL.I am on CENTOS.... While installing the pg gem I received the following error. I reinstalled to clear my YAML problem also, which didn\'t work, but it is jus
try installing libpq package by doing:
sudo apt-get install libpq-dev
That package helps with pg gem and you should be fine after that :)