RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: HeyItsMeRoss
I followed the instructions for upgrading PostgreSQL on a new install of OS X Lion by typing "brew install postgresql."
But I think I am having a problem:
"psql --version" returns psql (PostgreSQL) 9.0.5 "which psql" returns /usr/bin/psql
"postgres --version" returns postgres (PostgreSQL) 9.1.3 /usr/local/bin/postgres
In the screencast, when Ryan types "psql --version", it's listed as postgres (PostgreSQL) 9.1.3. And "which psql" also returns "/usr/local/bin/psql" for Ryan.
I'm just confused and I'm not sure what to do, if anything.
I followed the instructions for upgrading PostgreSQL on a new install of OS X Lion by typing "brew install postgresql."
But I think I am having a problem:
"psql --version" returns psql (PostgreSQL) 9.0.5
"which psql" returns /usr/bin/psql
"postgres --version" returns postgres (PostgreSQL) 9.1.3
/usr/local/bin/postgres
In the screencast, when Ryan types "psql --version", it's listed as postgres (PostgreSQL) 9.1.3. And "which psql" also returns "/usr/local/bin/psql" for Ryan.
I'm just confused and I'm not sure what to do, if anything.