I am using the Ruby on Rails 3.1 pre version. I like to use PostgreSQL, but the problem is installing the pg gem. It gives me the following error:
pg
On Ubuntu, install the "libpq-dev" to get rid of this issue.
sudo apt-get install libpq-dev