I spent a couple of hour this weekend trying to get Ruby to talk to
PostgreSQL on a Windows Vista machine without success. I am working
with both Cygwin Ruby and JRuby.
I installed the DBI gem, including dbd_pg. I get the following error
in both version of Ruby:
Could not load driver (no such file to load -- /usr/lib/ruby/
I also tried jruby-postgres and pgconn but I could not figure out how
to call the first one and got errors with the second. I could not
find any documentation (even tried ri).
I tried Googling everything I could think of.
Has anyone gotten a DB connection to PostgreSQL working under Windows
with any version of Ruby?