Postgres - could not connect to server after trying rake db:create:all
问题 I'm trying to get Postgres up and running on OS X Lion - homebrew - rvm. http://railscasts.com/episodes/342-migrating-to-postgresql After following the above instructions, I ran into the same problem described here: Repairing Postgresql after upgrading to OSX 10.7 Lion Running which psql yieled usr/bin/psql when it should be usr/local/bin/psql Ok, so I modified the path like this (this is all that is in the file): export PATH="/usr/local/bin:$PATH" [[ -s "/Users/chase/.rvm/scripts/rvm" ]] &&