I just lost an hour with this error:
1 | Please install the postgres adapter: `gem install activerecord-postgres-adapter` (cannot load such file -- active_record/connection_adapters/postgres_adapter) (RuntimeError) |
I had to google a lot until I found the answer here, on Matt’s blog: “Please install the postgres adapter”
As usual, it was a stupid mistake in the database.yml:
1 2 3 4 5 | development: adapter: postgres database: ombu_development pool: 5 timeout: 5000 |
The adapter is called “postgresql” not “postgres”
1 2 3 4 5 | development: adapter: postgresql database: ombu_development pool: 5 timeout: 5000 |
I hope this saves you time.
