【发布时间】:2013-10-16 22:17:07
【问题描述】:
我正在使用带有最新 ckeditor gem 的 Rails 4。所有资产都很好地预编译,除了它们不被 ckeditor 使用。常规的未压缩文件是。
https://github.com/galetahub/ckeditor/issues/316
https://github.com/galetahub/ckeditor/issues/307
我运行了 rake 任务,并生成了文件……但是我的服务器没有……为它们提供服务。
http://www.mydomain.com/assets/ckeditor/config.js?t=D6IE http://www.mydomain.com/assets/ckeditor/config.js
然而,通过 Paperclip 上传的文件,在 URL 中有查询字符串但没有文件名加载就好了。有什么关系?
【问题讨论】:
标签: ruby-on-rails gem ckeditor production-environment