DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

Carl Pelletier's picture

Unregistered

Feeds

aliases

  • Carl Pelletier

Carl Pelletier

8 months ago

in PostgreSQL, Ruby, and Rails: I Quit on Josh Kim dot Org
If that can help, I find the solution for ruby-pg. You must specify the adapter in config/database.yml at:
adapter:postgresql



That it! No more complain by Activerecord...



Thanks

8 months ago

in PostgreSQL, Ruby, and Rails: I Quit on Josh Kim dot Org
If that can help, I find the solution for ruby-pg. You must specify the adapter in config/database.yml at:
adapter:postgresql

That it! No more complain by Activerecord...

Thanks
1 reply
ehsanul You're wrong Carl. I saw this "solution" as well online (I'm having the same problem), and I did originally have it set to "postgres", which was wrong. But even after changing it to "postgresql", I get the same type of error. Actually, with adapter set to postgres, I get this error:

"Please install the postgres adapter: `gem install activerecord-postgres-adapter` (no such file to load -- active_record/connection_adapters/postgres_adapter)"

When it's set correct to "postgresql", I get this error:

Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (no such file to load -- pg)

I've tried both the ruby-pg and postgres gems, to no avail. Any help would be appreciated.
Returning? Login