ruby on rails - can't connect to postgres server with mountain lion -
need after scouting issues postgres , mac 10.8
i installed pg through homebrew (tried heroku app no luck)
which psql --> /usr/local/bin/psql psql --version --> psql (postgresql) 9.2.4
when starting rails server is server running locally , accepting connections on unix domain socket "/var/pgsql_socket/.s.pgsql.5432"?
when pg_ctl -d /usr/local/var/postgres -l logfile start
server starting
when run psql
is server running locally , accepting connections on unix domain socket "/tmp/.s.pgsql.5432"?
any idea?
whatever wrong setup ended adding host: localhost
to database.yml
and did trick. time wasted remain now. help.
Comments
Post a Comment