title: Rails asset pipeline: fonts not found
body: <p>I have a strange error, where some fonts are found but some aren't. Basically I have two fonts <code>font1</code> (custom font from IconMoon) and <code>Brandon</code> (from fonts.com). My directory structure is</p>
  
  <pre><code>- app
    - assets
      - fonts
        - font1.eot
        - ...
        - 172fdde2-f56b-433a-a6e2-ebeab9dfb588.eot
        - ...
  </code></pre>
  
  <p>I'm using SCSS to load my fonts:</p>
  
  <pre><code>@font-face {
    font-family: 'font1';
    src:font-url('font1.eot?-kpzpl9');
    src:font-url('font1.eot?#iefix-kpzpl9') format('embedded-opentype'),
    font-url('font1.woff?-kpzpl9') format('woff'),
    font-url('font1.ttf?-kpzpl9') format('truetype'),
    font-url('font1.svg?-kpzpl9#font1') format('svg');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face{
    font-family:'Brandon Grot W01 Medium';
    src:font-url('172fdde2-f56b-433a-a6e2-ebeab9dfb588.eot?#iefix');
    src:font-url('172fdde2-f56b-433a-a6e2-ebeab9dfb588.eot?#iefix') format('eot'),
    font-path('50ca6f6f-b64d-4af0-9b30-526cf363d87e.woff2') format('woff2'),
    font-url('050c2cbf-b818-4b8e-b6d2-71b70478bd9d.woff') format('woff'),
    font-url('7da41ce3-b3fd-4fca-a85f-4f3099884c15.ttf') format('truetype'),
    font-url('37c88f3d-9532-4547-9e11-7cca7f66048c.svg#37c88f3d-9532-4547-9e11-7cca7f66048c') format('svg');
  }
  </code></pre>
  
  <p>When I try to load the <code>font1</code> fonts, everything works. But when I try to load the <code>Brandon</code> font I get 404 errors. This is the generated CSS:</p>
  
  <pre><code>@font-face {
    font-family: 'font1';
    src: url(/assets/font1.eot?-kpzpl9);
    src: url(/assets/font1.eot?#iefix-kpzpl9) format("embedded-opentype"), url(/assets/font1.woff?-kpzpl9) format("woff"), url(/assets/font1.ttf?-kpzpl9) format("truetype"), url(/assets/font1.svg?-kpzpl9#font1) format("svg");
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Brandon Grot W01 Medium';
    src: url(/assets/172fdde2-f56b-433a-a6e2-ebeab9dfb588.eot?#iefix);
    src: url(/assets/172fdde2-f56b-433a-a6e2-ebeab9dfb588.eot?#iefix) format("eot"), "/assets/50ca6f6f-b64d-4af0-9b30-526cf363d87e.woff2" format("woff2"), url(/assets/050c2cbf-b818-4b8e-b6d2-71b70478bd9d.woff) format("woff"), url(/assets/7da41ce3-b3fd-4fca-a85f-4f3099884c15.ttf) format("truetype"), url(/assets/37c88f3d-9532-4547-9e11-7cca7f66048c.svg#37c88f3d-9532-4547-9e11-7cca7f66048c) format("svg");
  }
  </code></pre>
  
  <p>Calls to <code>/assets/font1.eot</code> result in a <code>200</code> and calls to <code>/assets/172fdde2-f56b-433a-a6e2-ebeab9dfb588.eot</code> result in a <code>404</code>.</p>
  
  <p>I'm not sure why this happens, because they are in the same directory. The logs look like this</p>
  
  <pre><code>Started GET "/assets/font1.eot" for 127.0.0.1 at 2016-02-05 10:38:22 +0100
  Served asset /font1.eot - 304 Not Modified (0ms)
  
  Started GET "/assets/172fdde2-f56b-433a-a6e2-ebeab9dfb588.eot" for 127.0.0.1 at 2016-02-05 10:39:25 +0100
  Served asset /172fdde2-f56b-433a-a6e2-ebeab9dfb588.eot - 404 Not Found (6ms)
  </code></pre>
  
  <p>I'm on Rails 3.2.9</p>
  
  <p>Any ideas on how to debug this issue?</p>