From: Rajinder Yadav Date: 2010-11-09T08:00:50+09:00 Subject: Re: ruby-pg gem fails to install On Mon, Nov 8, 2010 at 5:43 PM, Ben Bleything wrote: > On Mon, Nov 8, 2010 at 2:40 PM, Alex Stahl wrote: >> Just ran into the same thing myself... installing 'libpq-dev' seemed to >> have solved it: >> >>>sudo apt-get install libpq-dev > > That won't matter on an install from source, like the OP is doing. > > Ben Ben thanks for your clue, I got the gem to build and install. I just needed to add the executable pg_config not just its path: sudo gem install pg -- --with-pg-config=/opt/postgresql-9.0.1/src/bin/pg_config/pg_config -- Kind Regards, Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely GNU/Linux: 2.6.35-22-generic Kubuntu x86_64 10.10 | KDE 4.5.1 Ruby 1.9.2p0 | Rails 3.0.1