activerecord-postgresql-adapter in Rails 2.1

If you get the following message

Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` 

It means you don’t have the new ‘pg’ postgresql library installed. This is easily fixed with a bit of

sudo gem install pg
  1. Hajer says:

    I cannot install pg – gem install pg does not work

    so I have to install postres-pr only

    I am using Ruby 1.9.2 and Rails 3

    Any suggestions?

  1. There are no trackbacks for this post yet.

Leave a Reply