title: Assets path issue with S3
body: <p>In production, I use Heroku and dynamic assets on S3. It works fine.
  Now I try to send my statics assets to S3. I followed this tutorial <a href="https://devcenter.heroku.com/articles/cdn-asset-host-rails31" rel="nofollow">https://devcenter.heroku.com/articles/cdn-asset-host-rails31</a> </p>
  
  <p>I added asset_sync gem, I configured my heroku ENVs, my config/production.rb and I run <code> heroku run rake assets:precompile</code></p>
  
  <p>It seems to work fine :</p>
  
  <pre>
      Using: Directory Search of /app/public/assets
      Uploading: assets/application.js.gz
      Uploading: assets/application.css
      Uploading: assets/application-8977252f192f3e36dbd6b5142de920e3.css.gz
      Uploading: assets/eurof35-webfont-4ea19cda003d589e688cedcf9f79ddd6.eot
      Uploading: assets/application.css.gz
      Uploading: assets/application-8977252f192f3e36dbd6b5142de920e3.css
      Uploading: assets/application-a904f1bc7724b6f68e1f8d38d03a093e.js.gz
      Uploading: assets/application-a904f1bc7724b6f68e1f8d38d03a093e.js
      Uploading: assets/application.js
      AssetSync: Done.
  </pre>
  
  <p>However when I load my website, there is no CSS or JS files.
  When I inspect the code there is 
  <code><code>&lt;link href="http://s3.amazonaws.com/annoncestest/assets/application-85cc4376a5de3b224db7c0548a44e7cb.css" media="all" rel="stylesheet" type="text/css" /&gt;</code></code></p>
  
  <p>As you can see the CSS application which is called is not the same as I have in my S3 bucket.</p>
  
  <p>Do you have any idea?</p>
  
  <p>EDIT : However it works fine for application.js file, it takes the good files. But not for css files (application.css and admin.css). I tried with CloudFront and the result is the same. </p>