Re: [Rails] Re: PG::ConnectionBad: could not connect to server: No such file or directory

2014-10-15 Thread Colin Law
On 15 October 2014 09:00, bradford li wrote: > Here is my database.yml > > # PostgreSQL. Versions 8.2 and up are supported. > # > # Install the pg driver: > # gem install pg > # On OS X with Homebrew: > # gem install pg -- --with-pg-config=/usr/local/bin/pg_config > # On OS X with MacPorts: >

[Rails] Re: PG::ConnectionBad: could not connect to server: No such file or directory

2014-10-15 Thread bradford li
Here is my database.yml # PostgreSQL. Versions 8.2 and up are supported. # # Install the pg driver: # gem install pg # On OS X with Homebrew: # gem install pg -- --with-pg-config=/usr/local/bin/pg_config # On OS X with MacPorts: # gem install pg -- --with-pg-config=/opt/local/lib/postgresql