Couldn't find file 'twitter/bootstrap' in Production

后端 未结 6 586
不知归路
不知归路 2020-12-15 20:30

I\'m using Twitter\'s Bootstrap translated to SCSS files. It works in local-development, but when I precompile and push to Heroku (using Cedar stack), I get this:

         


        
6条回答
  •  醉梦人生
    2020-12-15 21:09

    In config/environments/production.rb add this line:

    config.assets.precompile = [/^[-_a-zA-Z0-9]*\..*/]

    My guess is it is not adding all your assets.

提交回复
热议问题