From: Tom Copeland Date: 2007-02-04T11:37:59+09:00 Subject: Re: Fail to install postgres gem On Sun, 2007-02-04 at 02:43 +0900, Damian Terentyev wrote: > > Hm, seems like it's not finding the PostgreSQL header and object files. > > You can probably get it to work by moving into that directory > > (/usr/local/lib/ruby/gems/1.8/gems/postgres-0.7.1) and running: > > > > ruby extconf.rb --with-pgsql-include-dir=/path/to/pgsql/headers > > --with-pgsql-lib-dir=/path/to/pgsql/shared_libs > > > > and then run "make" and "make install". > > > > Yours, > > > > Tom > > Thank you so much! > Worked. Super! The same thing happened to me with the MySQL gem yesterday, so it's fresh in my mind... Yours, tom