blueprint css rails 3.1 help

后端 未结 4 1448
心在旅途
心在旅途 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:23

    Try setting your:

    config.assets.precompile += %w( blueprint/screen.css blueprint/print.css )
    

    in config/environments/production.rb

    I'm sure someone with more experience than me can tell us why all css files aren't pre-compiled as standard. I'm only just starting out too!

    Here's at least one discussion: Rails 3.1 asset pipeline - missing files from public/assets - why isn't this the default?

提交回复
热议问题