0

该应用程序在本地运行良好,但是当我在生产中打开炼油厂应用程序时 - 主页丢失。我转移了我的迁移,但仍然没有帮助。令人惊讶的是,联系人、博客和表单页面都没有显示 css。我看到的所有错误都是写在横幅上的——对不起,一定是出了什么问题,或者你一定是打错了地址。

我还包含了响应我的项目的引导程序和引导程序,所有的 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)

请帮助,thanx提前:)

4

1 回答 1

0

问题是由于引导程序而出现的,不得不重命名我的 application.css -> application.css.scss

@imports bootstrap 也做了
确保你在配置中需要'bootstrap'

于 2013-10-22T11:35:08.320 回答