Ruby on rails Rails4,CKEditor gem,预编译资产:未捕获[CKEditor.resourceManager.load]资源名称“;“违约”;找不到

Ruby on rails Rails4,CKEditor gem,预编译资产:未捕获[CKEditor.resourceManager.load]资源名称“;“违约”;找不到,ruby-on-rails,ckeditor,asset-pipeline,Ruby On Rails,Ckeditor,Asset Pipeline,我正试图把一个网站投入生产模式。出于某种原因,我不得不使用预编译资产,我使用了: RAILS_ENV=production bundle exec rake assets:precompile (原因是我使用mod_passenger,如果没有预编译的资产,我无法使任何东西工作) 所有的工作都很好,但不是编辑。我使用galetahub/ckeditor gem。它在开发思想上运行良好,但在生产中我有以下错误: Uncaught [CKEDITOR.resourceManager.load]

我正试图把一个网站投入生产模式。出于某种原因,我不得不使用预编译资产,我使用了:

RAILS_ENV=production bundle exec rake assets:precompile
(原因是我使用mod_passenger,如果没有预编译的资产,我无法使任何东西工作)

所有的工作都很好,但不是编辑。我使用galetahub/ckeditor gem。它在开发思想上运行良好,但在生产中我有以下错误:

 Uncaught [CKEDITOR.resourceManager.load] Resource Name "Default" was not found at "[...]/assets/ckeditor/styles.js?t=D6IE
我代替了编辑。。。没什么

我已经尝试了很多解决方案,比如添加:

//= require ckeditor/override
但有了它,我无法预编译资产,它会给我一个“ckeditor/override not found”错误

我还尝试定义了CKEDITOR_BASEPATH,它发生了变化。。没什么

js的路径看起来不错,只是在ckeditor存储库中我没有任何名为styles.js的东西,但是我想资产管道会重定向它吗


谢谢你的帮助,我不知道。

你最终发现问题了吗?我仍然在库的托管版本上看到这个问题。