title: Postgres sh: /usr/local/var/postgres/server.log: No such file or directory
body: <p>I recently had to reinstall homebrew and postgres and now postgres isn't working with rails.</p>
  
  <p>First when trying to run rails s, I get this:</p>
  
  <pre><code>/Users/lee/.rvm/gems/ruby-1.9.3-p125@achievex/gems/activerecord-3.2.6/lib/active_record/connection_adapters/postgresql_adapter.rb:1206:in `initialize': could not connect to server: Connection refused (PG::Error)
  </code></pre>
  
  <p>So I try starting postgres and I get this:</p>
  
  <pre><code>pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
  server starting
  sh: /usr/local/var/postgres/server.log: No such file or directory
  </code></pre>
  
  <p>It appears that postgres is running because of this:</p>
  
  <pre><code> ps aux | grep postgreslee             1099   0.3  0.0  2425480    188 s000  R+    5:48PM   0:00.01 grep postgres
  </code></pre>
  
  <p>I'm totally at a loss here as to why I can't get it running.</p>