spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
816 stars 258 forks source link

tinymce-rails breaks assets:precompile rake task #16

Closed gucki closed 13 years ago

gucki commented 13 years ago

When having tinymce-rails in the Gemfile only application.js and application.css get precompiled by rake assets:precompile. All other assets like images don't get precompiled anymore.

Removingtinymce-rails from the Gemfile makes everything work as it should.

spohlenz commented 13 years ago

What version of Rails are you using? Also, what is your config.assets.precompile set to?

gucki commented 13 years ago

3.1.1.rc1. config.assets.precompile is not changed.

spohlenz commented 13 years ago

Thanks @gucki. I've tracked this down to the use of Procs within config.assets.precompile in rc1, which isn't supported by the digestion gem. Should be an easy fix.

spohlenz commented 13 years ago

Please give tinymce-rails (3.4.5.0.1) a go. It should now work on Rails 3.1.1.rc1 but won't yet work on edge rails.

gucki commented 13 years ago

Thanks for the quick response. Meanwhile I did some work myself and went another route: https://github.com/spohlenz/tinymce-rails/pull/17 :)