Hello everyone. I'm starting with Rails going through the obvious
"Getting Started with Rails" guide:
Everything goes smoothly until the rake db:create command, which
returns this strange error message referring to a gem that apparently
Please install the postgresql adapter: `gem install activerecord-
postgresql-adapter` (pg is not part of the bundle. Add it to Gemfile.)
I am trying to connect to a remote postgres server with the following
contents in database.yml:
Which only adds the host line to what is shown in the tutorial.
After confirming that the pg gem is installed I tried two things:
first install the libdbd-pg-ruby package for Ubuntu, and then replaced
the pg gem for postgres-pr, as suggested here:
Neither of these actions changed matters, the error remains. What else
can I do to trace this problem?