【发布时间】:2013-03-08 20:34:03
【问题描述】:
我正在将应用程序更新到 rails 3.1,并且在预编译资产时出现此错误,我已将 ckeditor 更新为 4.0.2,因为根据此 Github Issue 将修复它,但错误仍然存在.更新 gem 后我需要做些什么吗?
这是完整的错误:
Invalid CSS after "*": expected "{", was "html .cke_uicol..."
"html" may only be used at the beginning of a compound selector.
(in /home/stanwinston/stanwinston/app/assets/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/yui.css)
谢谢你!
【问题讨论】:
-
如果你不能更新到 3.2(正如@user1479606 建议的那样)并且真的需要让它工作,可以在公共文件夹中设置 CKEditor(没有 gem)。见another topic。
标签: ruby-on-rails ruby ruby-on-rails-3.1 gem ckeditor