tsechingho / ckeditor-rails

Integrate CKEditor javascript library with Rails asset pipeline
https://github.com/tsechingho/ckeditor-rails
MIT License
213 stars 134 forks source link

Images Not Precompiled on Heroku #38

Open jonahbron opened 10 years ago

jonahbron commented 10 years ago

I'm deploying to Heroku, and for some reason, the icons are not showing up in the editor. I tried adding Ckeditor.assets to my list of precompiled assets, but it had no effect. I looked at the contents of that array, and I saw that it only contains the CSS and JS, not the images.

Any references to images result in a 404, and when I list the assets that are on the server, the images aren't there (neither with nor without a hash).

What's causing this? Is it a bug, or some configuration option that I'm missing?

jonahbron commented 10 years ago

This is still an issue. The only workaround at this time is to enable config.assets.compile = true in the production.rb environment file.