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

后端 未结 6 659
不知归路
不知归路 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:11

    Make sure, in config/environments/production.rb, you have...

    config.serve_static_assets = true
    

提交回复
热议问题