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

Fernando Perez
Tue, 28 Oct 2008 13:21:00 -0000

You are right! There is something wrong with the gems and their
versions.

From the official website: http://rubyforge.org/projects/ruby-pg/

I see:

ruby-pg -> ruby-pg-0.7.9.2008.10.13    October 14, 2008
ruby-postgres -> postgres-0.7.9.2008.01.28    January 28, 2008

Therefore I installed the gem ruby-pg, but look at my "gem list"
output:

ruby-pg (0.7.9.2008.01.28)

This is wrong!


Installing "sudo gem install pg" fixed the version problem, and now
Rails 2.1.2 can detect the gem with gem.config

Everything works 100% perfectly.