Recently I ran into errors while installing pg gem for postgresql in my Ubuntu 11.04
I then realized that I did not have some required libraries..
So, I did the following:
sudo apt-get install libpq5 libpq-dev Then I did.. gem install pg worked fine for me..
Pingback: surface encounters