title: Why is postgresql 9.1 not working with rails 3.0?
body: <p>I recently upgraded to ubuntu 11.10 and whenever I run my rails server I keep getting this error:</p>
  
  <pre><code>  could not connect to server: No such file or directory
      Is the server running locally and accepting
      connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  </code></pre>
  
  <p>Prior to the upgrade the database was working fine with rails 3.0. How can I fix this?</p>