Yeah it works fine, worked since the first beta.

On Ubuntu these are the packages I installed:

sudo apt-get install postgresql postgresql-client postgresql-contrib
libpq-dev

Then all you need is the pg gem mentioned in your Gemfile.

Maybe the fact you have the others installed is part of the problem,
they are definitely not required for it to work, this is the only
PostGres related gem I have in my Gemfile:

gem "pg"

On Apr 23, 7:19 pm, Greg Donald <[email protected]> wrote:
> Anyone know if Rails 3 supports PostgreSQL yet?  I'm again trying on
> the latest beta, still not getting anything to work.
>
> I have every postgresql gem I can find installed:
>
> > gem list --local|grep ^p
>
> pg (0.9.0)
> postgres (0.7.9.2008.01.28)
> postgres-pr (0.6.3)
>
> My database.yml entry:
>
> development:
>   adapter: postgresql
>   database: rails3_dev
>   username: rails3
>   password: rails3
>
> Then when I try it, I get this:
>
> RuntimeError (Please install the postgresql adapter: `gem install
> activerecord-postgresql-adapter` (no such file to load -- pg)):
>
> I'm not finding a gem by that name:
>
> > gem install activerecord-postgresql-adapter
>
> ERROR:  could not find gem activerecord-postgresql-adapter locally or
> in a repository
>
> This page doesn't even mention that gem:
>
> http://wiki.rubyonrails.org/database-support/postgres
>
> Anyone get this to work yet?
>
> --
> Greg Donald
> destiney.com | gregdonald.com
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/rubyonrails-talk?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to