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.

Problem in postgresql and rails project..

#3427

Hello,

I want to create a rails project with the postgresql. I install postgresql on my machine, and create a rails project also.
But when i am running the command rake db:create or rake db:migrate then the following error occur...

uninitialized constant ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::PGconn

Please tell me the solution..

Reported by madhuri · October 26th, 2009 @ 04:48 AM

State: resolved
Milestone: none
Assigned to: Ryan Bigg Ryan Bigg
Importance: none

Activity

  1. Roland Moriz
    Roland Moriz
    • Assigned user set to Ryan Bigg

    I see you've asked on http://www.ruby-forum.com/topic/197921 and got some answers...

    April 11th, 2010 @ 03:47 AM

  2. Ryan Bigg
    Ryan Bigg
    • State changed from new to resolved

    This was apparently caused by a missing apt package: libpgsql-ruby. Installing it fixed this issue.

    April 11th, 2010 @ 03:49 AM