I'm following this guide Contributing to Ruby on Rails — Ruby on Rails Guides to set up the environment, but for the life of me can't get tests passed for postgres.
When I do rake test_postregsql in activerecord folder I get:
rails/activerecord/lib/active_record/connection_adapters/ postgresql_adapter.rb:1063:in `initialize': could not connect to server: Permission denied (PGError) Is the server running locally and accepting connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL. 5432"?
I tried to install postgres with homebrew and from dmg. Added /usr/ local/bin to $PATH. Basically tried everything I could google about it but nothing helped. Anyone bumped into similar situation?