title: Link Custom CSS and Javascript to Rails After Deployment
body: <p>I have a Rails App it's css and js links works fine locally since I have used :</p>
  
  <pre><code>    &lt;link href="assets/bootstrap.css" rel="stylesheet"&gt;
      &lt;link href="assets/bootstrap-responsive.css" rel="stylesheet"&gt;
      &lt;link href="assets/font-awesome.css" rel="stylesheet"&gt;
      &lt;link href="assets/bootswatch.css" rel="stylesheet"&gt;
  </code></pre>
  
  <p>I Googled more than it should all I find is this <a href="https://devcenter.heroku.com/articles/rails-asset-pipeline" rel="nofollow">Heroku Guide</a> , I'm so confused about the assets pipeline thing! I ran this command as well :</p>
  
  <pre><code>bundle exec rake assets:precompile
  </code></pre>
  
  <p>and it did create some files in the public dir as mentioned in the guide :</p>
  
  <p>Now on Heroku Everything is plain, no design no nothing of Css and JS.</p>
  
  <p>While when I run </p>
  
  <blockquote>
    <p>Heroku Logs</p>
  </blockquote>
  
  <p>This is what I get some serious NO Route Match for the CSS and JS files as follow :</p>
  
  <blockquote>
    <p>2013-06-10T10:06:28.184255+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/assetscv.png"):</p>
  </blockquote>
  
  <p>This is only one line, I get bunch of more of these for other files, and pre generated loggs lines</p>
  
  <p>any help would be appreciated Thanks!</p>
  
  <p>PS:</p>
  
  <p>I tried </p>
  
  <pre><code>       &lt;%= stylesheet_link_tag "bootstrap" %&gt;
  &lt;%= stylesheet_link_tag "bootstrap-responsiv" %&gt;
   &lt;%= stylesheet_link_tag "bootswatch", "font-awesome.css" %&gt;
  </code></pre>
  
  <p>I got bunch of errors and on heroku it says sorry something went wrong</p>