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