Note that there are some explanatory texts on larger screens.

plurals
  1. POPG Error Don't know how to DEBUG
    primarykey
    data
    text
    <pre><code>Exiting /Users/judyngai/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-3.2.13/lib/active_record /connection_adapters/postgresql_adapter.rb:1216:in `initialize': could not connect to server: No such file or directory (PG::Error) Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? </code></pre> <p>I read through some posts, somebody suggest adding </p> <p>host: localhost</p> <p>to the database.yml file </p> <p>and then I got this new error</p> <pre><code>Exiting /Users/judyngai/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-3.2.13/lib/active_record /connection_adapters/postgresql_adapter.rb:1216:in `initialize': could not connect to server: Connection refused (PG::Error) Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? </code></pre> <p>can somebody point me to the right direction?</p> <p>I don't think I have given enough information </p> <p>when I do </p> <pre><code>psql --version psql (PostgreSQL) 9.2.4 which psql /usr/local/bin/psql </code></pre> <p>I do have psql installed on my machine</p> <p>and here is my database.yml file</p> <pre><code>test: adapter: postgresql encoding: unicode database: pinny_test pool: 5 username: judyngai password: host: localhost development: adapter: postgresql encoding: unicode database: pinny_development pool: 5 username: judyngai password: host: localhost </code></pre> <p>I uncommented out the production part. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload