From: "Robert P." Date: 2010-12-25T05:46:12+09:00 Subject: Re: ruby-pg gem fails to install Vince Vince wrote in post #967980: > Try this > > > > sudo gem install pg -- --with-opt-dir=/usr/local/lib/postgre/ > --with-pg-dir=/usr/local/lib/postgre/ > > > where /usr/local/lib/postgre/ should be changed to dir where your > postgresql was installed That one did the trick. Thank you! Mine was: sudo gem install pg -- --with-opt-dir=/usr/local/pgsql/ --with-pg-dir=/usr/local/pgsql/ -- Posted via http://www.ruby-forum.com/.