title: rails/Heroku: custom fonts working in local but not on Heroku
body: <p>I have a problem with my custom fonts on Rails 4.</p>
  
  <p>I put the fonts in /vendor/assets/fonts/ directory, and in my application.rb, I added:</p>
  
  <pre><code>config.assets.paths &lt;&lt; "#{Rails}/vendor/assets/fonts"
  config.assets.precompile &lt;&lt; /\.(?:svg|eot|woff|ttf)$/
  </code></pre>
  
  <p>In addition, in my production.rb config file, I have:</p>
  
  <pre><code>config.serve_static_assets = true
  </code></pre>
  
  <p>I'm using sass so in my css, I added:</p>
  
  <pre><code>@font-face
    font-family: 'Raleway-Thin'
    src: url('Raleway-Thin.ttf')
  
  ....
  font-family: "Raleway-Thin", sans-serif
  </code></pre>
  
  <p>In my application.css, I also added because i'm using font-awesome:</p>
  
  <pre><code> *= require font-awesome.min
  </code></pre>
  
  <p>I'm pushing on Heroku, and my fonts are ot loaded, it's not working...</p>
  
  <p>Do you have any ideas what's the problem please, (or if there is any command to type before/after pushing)?</p>
  
  <p>Thanks by advance</p>