title: Rails 4, How to include html5shiv in production?
body: <p><strong>Context:</strong></p>
  
  <p>I am using <code>rubber gem</code> to deploy my rails app to aws.
  It take cares of precomiling on aws.</p>
  
  <p>Everything was working fine, then I added <code>html5shiv</code> and <code>respond.js</code> for ie8.</p>
  
  <p>I added,</p>
  
  <pre><code>/[if lt IE 9]
     = javascript_include_tag 'html5shiv', 'data-turbolinks-track' =&gt; true
     = javascript_include_tag 'respond', 'data-turbolinks-track' =&gt; true
  </code></pre>
  
  <p>It's <code>slim</code> but can be easily understood. </p>
  
  <p><code>html5shiv.js</code> and <code>respond.js</code> are both in <code>vendor/assets/javascripts</code> directory.</p>
  
  <p>Everything works fine on development, but on deployment to aws, I get an error 'permission denied accessing <code>vendor/assets/fonts</code> directory'.</p>
  
  <p>I guess, my <code>html5shiv</code> and <code>respond</code> are not getting compiled and thus rails is requesting them from <code>vendors</code> directory. </p>
  
  <p><strong>Question:</strong></p>
  
  <p>Do I need to add a reference in <code>application.js</code>, even though I have included them with <code>javascript_include_tag</code> ?</p>
  
  <p>What would be a rails 4.0 approach to this task ?</p>