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

前端 未结 14 1701
自闭症患者
自闭症患者 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:29

    You probably have a syntax error in the css you are using.

    Run this command

    $ bundle exec rake assets:precompile RAILS_ENV=development --trace
    

    It will give the exception, fixed that and you are all done.

    Thanks

提交回复
热议问题