the “bootstrap-sass” doesn't work with rails 3.2.2

前端 未结 4 898
不思量自难忘°
不思量自难忘° 2021-02-06 19:39

I create a new rails project,and add

gem \'bootstrap-sass\'

to my Gemfile, then I run bundle install and every things going good.

4条回答
  •  星月不相逢
    2021-02-06 20:22

    Probably a little late to the party, but just in case anyone else stumbles across the question...

    This was a small gotcha I Solved by adding @import "bootstrap"; to the top of my application.css file, the renamed the file to application.css.scss

    Hope this helps.

提交回复
热议问题