blueprint/screen.css isn't precompiled

前端 未结 4 1582
故里飘歌
故里飘歌 2020-12-02 07:56

I\'ve been following along Michael Hartl\'s excellent RoR Tutorial, but I\'m using RoR 3.1. I am a newbie to RoR 3.1 and need help related to assets pipeline. Here is my pro

4条回答
  •  感情败类
    2020-12-02 08:42

    From http://guides.rubyonrails.org/asset_pipeline.html#precompiling-assets

    If you have other manifests or individual stylesheets and JavaScript files to include, you can add them to the precompile array

    This means that in your config/environments/production.rb, you set

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

    or a catchall:

    config.assets.precompile += %w( *.css *.js )
    

提交回复
热议问题