简体   繁体   中英

Error on assets:precompile because of ckeditor assets

I have a problem when having a bundle exec rake assets:precompile because of CKEditor Gem issue.

My error is this:

Sass::SyntaxError: Invalid CSS after "..._footer{filter:": expected expression (e.g. 1px, bold), was "}"
  (in /home/test_test/.rvm/gems/ruby-2.1.0-preview2@test_test/gems/ckeditor-4.0.11/app/assets/javascripts/ckeditor/override.js.erb)
(sass):6

Can somebody help me. I can't deploy my app. I'm stuck. Thanks in advance.

This is a bug in ckeditor , which has been fixed at least twice :-P.

You can fix it yourself by editing /home/test_test/.rvm/gems/ruby-2.1.0-preview2@test_test/gems/ckeditor-4.0.11/vendor/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css .

Look at the end of the file, and make sure it does not end with cke_dialog_footer{filter:} . Here is the fix in github

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM