Error while installling ‘pg’ postGres Gem in Ubuntu 11.04

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..

One response to “Error while installling ‘pg’ postGres Gem in Ubuntu 11.04

  1. Pingback: surface encounters

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s