title: Assets compilation Ckeditor rails in heroku
body: <p>I am having troubles using Ckeditor in production environment.</p>
  
  <p>I have 2 environments, staging and production, both of them are in Heroku.</p>
  
  <p>I am able to see Ckeditor in staging environment but not prod.</p>
  
  <p>My configuration is the following:
  config/environments/production.rb:</p>
  
  <pre><code># Precompile additional assets
  config.assets.precompile += Ckeditor.assets
  config.assets.precompile += %w( *.js )
  config.assets.precompile += %w( .svg .eot .woff .ttf )
  </code></pre>
  
  <p>config/initializers/assets.rb:</p>
  
  <pre><code>Rails.application.config.assets.precompile += %w( ckeditor/* )
  </code></pre>
  
  <p>app/assets/javascripts/application.js:</p>
  
  <pre><code>//= require ckeditor/init
  </code></pre>
  
  <p>(Which basically following <a href="https://github.com/galetahub/ckeditor" rel="nofollow">https://github.com/galetahub/ckeditor</a> documentation)</p>
  
  <p>Both environment staging and production use RAILS_ENV=production.</p>
  
  <p>I use Amazon S3 to serve my assets, which fine, because i can see that the javascript functionnalities, icons and images are present in production.</p>
  
  <p>Is there anything obvious that i am missing here ? </p>
  
  <p>Thanks!</p>
  
  <p>P.S: I am using RoR 4.2 and ckeditor 4.1.1</p>
  
  <p>EDIT:</p>
  
  <p>1 - I verified the javascript served in both environment, and the file is the same ! and Ckeditor javascript code is present in both. So the issue is not asset precompilation but something else...</p>
  
  <p>2 - The ckeditor.js file is present in the bucket but i'm still getting 404 not found response from server. The file is under assets/ckeditor/ckeditor-xxxx.js</p>