我正在使用带有最新 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 中有查询字符串但没有文件名,加载得很好。这是怎么回事?