rails - application.css asset not found in production mode

前端 未结 4 1712
夕颜
夕颜 2021-01-31 16:38

I\'m upgrading an application to use the asset pipeline.

I\'ve got the css assets compiling into an application css file but they not being found when I run the applicat

4条回答
  •  情歌与酒
    2021-01-31 16:55

    When you do rake assets:precompile, your assets go into public directory. See if you can find those files in public/assets/

    You should see something like this:

    I, [2014-02-23T20:06:21.853314 #26915]  INFO -- : Writing app_root/public/assets/application-ecd8636fc80ea2b712039c4abc365da9.css
    

提交回复
热议问题