Re: Rails 1.2 isn''t detecting the PostgreSQL 8.3 adapter (ru

Roderick van Domburg
Mon, 27 Oct 2008 22:12:32 -0000

Hi Fernando,

> With Rails 2.1.1 I have the same problem, it can''t find it with
> config.gem, however connection to the DB when the gem is installed works
> perfectly.

Have you also tried the "pg" gem? I believe that''s the
preferred way of
installing the gem from the ruby-pg project. (Yeah, it''s confusing.) pg
is at version 0.7.9.2008.10.13 and ruby-pg is at 0.7.9.2008.01.28.

If that fails, ensure that you''ve got the latest version of RubyGems. I
believe 1.3.0 is where it''s at. Finally, check the file permissions on
the gem directory. Everything contained therein should generally be
world-readable and the .so files should be world-executable too.

--
Roderick van Domburg