Rails and PostgreSQL

Last night I was trying to get Ruby on Rails up and running with
PostgreSQL on my laptop. Everything works except database access.
Whenever I try to scaffold any of my classes, I get the error
message, “`const_missing’: uninitialized constant PGconn”.

The part that really bugs me is I had this working a couple months ago.
The difference? Before I was running Fedora Core 3, and now I’m running
Fedora Core 4. I’m sure that it is some silly configuration option that
I’ve missed, but for the life of me, I can’t figure out what it is.
Frustrating to say the least.

Tags: Ruby Rails PostgreSQL Fedora