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

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

    Are you using a gem? Make sure your gem is not part of the assets group and is accessible in production.

    From GemFile

    # Gems used only for assets and not in production environments by default.
    

    So just move the gem outside of any group and you should be okay.

提交回复
热议问题