新手问题 rails4.0 使用 bootstrap 出错

davidchinnv · July 25, 2014 · Last by subway replied at July 25, 2014 · 1527 hits

在 Gem 文件添加了 bootstrap-sass 后使用 bundle install 了下,然后在 app\assets\stylesheets 理创建了一个 custom.css.scss,文件中使用@import "bootstrap";就会出现以上的错误,求解

@import "bootstrap"

自己解决了,Gem 文件中还需要加入 gem 'sprockets','2.11.0'

You need to Sign in before reply, if you don't have an account, please Sign up first.