我已经将我的应用程序从 Rails 3.0 升级到 Rails 3.2,我在 CSS 中遇到了一个问题,因为它没有正确加载。在使用之前asset-pipeline
,我一直在使用jammit
for assets 预编译。我在日志中发现以下消息:
Started GET "/assets/js_templates.jst" for 127.0.0.1 at 2013-04-11 17:41:59 +0530
Processing by Jammit::Controller#package as */*
Parameters: {"package"=>"js_templates", "extension"=>"jst"}
Completed 200 OK in 75ms (Views: 0.2ms | ActiveRecord: 0.0ms | Solr: 0.0ms)
Completed 500 Internal Server Error in 225ms
ActionView::MissingTemplate (Missing template errors/page_not_found,
application/page_not_found with {:locale=>[:en], :formats=>[:jpeg], :handlers=>[:erb,
:builder, :coffee, :haml]}