Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

database.rake tasks fail with pg gem

#3256
    % rake db:migrate --trace
    ...
    ** Execute db:migrate
    rake aborted!
    wrong argument type String (expected Module)
    /vendor/gems/dirs/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:980:in `initialize'
    ...

This is with the pg-0.8.0 gem.

Reported by Paul Sadauskas (Rando) · September 24th, 2009 @ 05:03 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Paul Sadauskas (Rando)
    Paul Sadauskas (Rando)
     % cat config/database.yml
    
    development:
      adapter: postgresql
      database: alarm
      username: ssbe
      password:
      encoding: unicode
      pool: 5
    

    September 24th, 2009 @ 05:03 PM

  2. Paul Sadauskas (Rando)
    Paul Sadauskas (Rando)

    Nevermind. I was using rvm to use 1.8.7, and the bundled pg gem was compiled using 1.9.1. Please close.

    September 24th, 2009 @ 05:29 PM

  3. José Valim
    José Valim
    • State changed from new to invalid

    September 24th, 2009 @ 05:50 PM