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

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

    this solved the issue in heroku at least

    just downgrade to sass-rails 3.1.4

    group :assets do
      gem 'coffee-rails', '~> 3.1.1'
      gem 'uglifier', '>= 1.0.3'
      gem 'sass-rails', '3.1.4'
      gem 'bootstrap-sass', '~> 2.0.2'
    end
    

提交回复
热议问题