我在Ceroku Cedar Stack上运行了1辆铁路机3.1号。 I m 采用Rack:Deflater mediumware, g清我的内容并实现这一点
config.middleware.insert_before ActionDispatch::Static, Rack::Deflater
在我的工作过程中。 rb 档案。
However, since last week, I get the following error when deploying to Heroku
Running: rake assets:precompile
rake aborted!
No such middleware to insert before: ActionDispatch::Static
然而,动,的中风仍能回落。
use Rack::Cache
use Rack::Deflater
use ActionDispatch::Static
use Rack::Lock
And content served were still gzipped. However, assets were not compiled(minified) as pre-compilation failed. A manual rake precompile::asets also does not help.
因此,我假定“行动司”:在资产完工前无法提供统计。 因此,我试图插入“Rack:Rack之前的Deflater:Lock和现在我的资产都是在没有错误信息的情况下汇编的,但所使用内容却不适宜。
因此,我需要做些什么,以图谋和汇编我的资产? 我失踪了什么? 感谢。