rails 3.1.0 ActionView::Template::Error (application.css isn't precompiled)

前端 未结 14 1691
自闭症患者
自闭症患者 2020-11-27 09:02

I made a basic rails app with a simple pages controller with an index function and when I load the page I get:

ActionView::Template::Error (application.css i         


        
14条回答
  •  粉色の甜心
    2020-11-27 09:41

    After all else failed...

    My solution was to change the layout file from

    = stylesheet_link_tag "reset-min", 'application'
    

    to

    = stylesheet_link_tag 'application'
    

    And it worked! (You can put the reset file inside the manifest.)

提交回复
热议问题