I'm running mountain lion and I am getting very different responses when I run the
For the former I get:
> psql ovatsug25=#
For the latter I get:
> postgres postgres does not know where to find the server configuration file.
You must specify the
-D invocation option or set the
PGDATA environment variable.
I installed postgres via homebrew and ran
after doing so.
My main problem is fixed (Rails starts and connects to the db) but I'm not sure where the difference lies between these commands or how that happened. Still trying to figure it out bun in the meantime...I'd appreciate any help.
which psql /usr/local/bin/psql
and which postgres
which postgres /usr/local/bin/postgres