I'm trying to install tentd-admin.
The install fails during this step:
$ DATABASE_URL=postgres://localhost/tent_server bundle exec rake db:migrate
I also tried this:
$ DATABASE_URL=postgres://tent:tent@localhost/tent_server bundle exec rake db:migrate
The error message I got is:
Error: Sequel::DatabaseConnectionError: PG::Error: FATAL: Ident authentication failed for user "tent"
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:208:in `initialize'
My Postgres setup looks like:
$ cat ~/.pgpass
localhost:5432:tent_server:tent:tent
postgres=# CREATE USER tent WITH password 'tent';
CREATE ROLE
postgres=# CREATE DATABASE tent_server with OWNER tent;
CREATE DATABASE