title: Rails assets missing on production after precompile heroku
body: <p>I had to set config.assets.compile = false in production.rb due to security vulnerability in heroku.</p>
  
  <p>After that, I noticed a couple missing files in public/assets so I ran:</p>
  
  <pre><code>heroku rake assets:precompile
  </code></pre>
  
  <blockquote>
    <p>I, [2018-06-27T00:04:19.538776 #4]  INFO -- : Writing
    /app/public/assets/application-b8b220c46c76c987e22df9f17f8b738290e41c5113e680fccc1f1d61f708
    7453.css I, [2018-06-27T00:04:19.539053 #4]  INFO -- : Writing /app/public/assets/application-b8b220c46c76c987e22df9f17f8b738290e41c5113e680fccc1f1d61f708
    7453.css.gz</p>
  </blockquote>
  
  <p>and then:</p>
  
  <pre><code>heroku restart
  </code></pre>
  
  <p>Log shows it created this css file, and I see it in the document head, however that document throws a 404 error. How did I screw this up?</p>