简体   繁体   English

资产错误:由于ckeditor资产而预编译

[英]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. 由于CKEditor Gem问题,当我有bundle exec rake assets:precompile时遇到问题。

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. 这是ckeditor中的一个错误 ,该错误已被至少两次:-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 . 您可以编辑/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:} . 查看文件的末尾,并确保它不以cke_dialog_footer{filter:}结尾。 Here is the fix in github 这是github中修复

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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