Forum: Ruby on Rails postgres-pr on windows

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
6984986e17b505271e9e25c7f99f46a2?d=identicon&s=25 Edward Ocampo-gooding (edward)
on 2006-06-07 20:10
After installing One-Click Rails and Postgres 8.1 on Windows, I tried to
install the pure-ruby postgres adapter by running

gem install postgres-pr

It installed fine, and I can do this:

irb(main):001:0> require "rubygems"
=> true
irb(main):002:0> require "postgres"
=> true

But then if I specify in my config/database.yml to use

adapter: postgres

and rake migrate, rails says that it can't find the postgres adapter.

Digging a little deeper and making the database connection manually:

irb(main):002:0> require "dbi"
=> true
irb(main):003:0> DBI::VERSION
=> "0.0.23"
irb(main):005:0> dbh =
DBI.connect('dbi:Pg:research_funding_development', 'postgres')
TypeError:  is not a class/module
G:/InstantRails/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:381:in `connect'
        from (irb):5

What gives? Am I doing something wrong here?
This topic is locked and can not be replied to.