title: How can I turn off asset compilation completely on a rails app on Heroku?
body: <p>I have a rails app which runs a service which has no assets. When I deploy, I see:</p>
  
  <pre><code>-----&gt; Preparing app for Rails asset pipeline
         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?
         /tmp/build_3pneyggcg60ks/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in `initialize'
         /tmp/build_3pneyggcg60ks/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in `new'
         /tmp/build_3pneyggcg60ks/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in `connect'
  ...
  </code></pre>
  
  <p>So I put this into my application.rb:</p>
  
  <pre><code>config.assets.enabled = false
  config.serve_static_assets = false
  config.assets.compile = false
  </code></pre>
  
  <p>But I still get the very same message when deploying.</p>
  
  <p>How can I completely turn off asset compilation/handling on heroku?</p>