blueprint css rails 3.1 help

后端 未结 4 1444
心在旅途
心在旅途 2020-12-14 08:06

My blueprint css works on my local machine, but when I push to heroku I get an error.

I have blueprint stored in my app/assets/stylesheets folder and he

4条回答
  •  既然无缘
    2020-12-14 08:33

    I just had the same problem. I solved it by setting config.assets.compile = true in config/environments/production.rb

    EDIT: This works fine while developing, but has a performance penalty as compilation is performed in run-time. See the answer below for a better solution

提交回复
热议问题