该应用程序在本地工作正常,但是当我在生产中打开炼油厂应用程序时 - 主页缺失。我改变了移民但仍然没有帮助。令人惊讶的是,联系人,博客和forem页面显示减去css。我看到的所有错误都是写的横幅 - 对不起,一定有问题,或者你必须输入错误的地址。
此外,我已经包含了响应我的项目的bootstrap和bootstrap,所有的css文件都被编译。
以下错误我从终端
取出 Started GET "/assets/refinery/application.css.scss" for 127.0.0.1 at 2013-10-21 14:41:41 +0530
Served asset /refinery/application.css.scss - 404 Not Found (25ms)
Processing by Refinery::PagesController#show as
Parameters: {"path"=>"assets/refinery/application.css", "locale"=>:en}
Rendered public/404.html (0.1ms)
Filter chain halted as :find_page rendered or redirected
Completed 404 Not Found in 29ms (Views: 9.6ms | ActiveRecord: 10.1ms)
Started GET "/assets/refinery/about.css.scss" for 127.0.0.1 at 2013-10-21 14:41:41 +0530
Served asset /refinery/about.css.scss - 404 Not Found (21ms)
Processing by Refinery::PagesController#show as
Parameters: {"path"=>"assets/refinery/about.css", "locale"=>:en}
Rendered public/404.html (0.1ms)
Filter chain halted as :find_page rendered or redirected
Completed 404 Not Found in 31ms (Views: 16.6ms | ActiveRecord: 1.8ms)
请提前帮助,而不是:)
答案 0 :(得分:0)
问题是由于引导, 不得不重命名我的application.css - > application.css.scss
也是@imports bootstrap
确保在config