title: Heroku Rails 4 could not connect to server: connection refused
body: <p>Using postgres.<br>
  Haven't been able to push.</p>
  
  <p>Tried this without any luck:</p>
  
  <pre><code>config.assets.initialize_on_precompile = false
  </code></pre>
  
  <blockquote>
    <p>-----> Preparing app for Rails asset pipeline</p>
  
  <pre><code>   Running: rake assets:precompile
     rake aborted!
     could not connect to server: Connection refused
     Is the server running on host "127.0.0.1" and accepting
     TCP/IP connections on port 5432?
  </code></pre>
  </blockquote>