我刚跑
gem install twitter-bootstrap-rails
它安装了许多文件:
11 gems installed
Installing ri documentation for activesupport-3.2.5...
Installing ri documentation for activemodel-3.2.5...
Installing ri documentation for rack-1.4.1...
Installing ri documentation for journey-1.0.3...
Installing ri documentation for sprockets-2.1.3...
Installing ri documentation for actionpack-3.2.5...
Installing ri documentation for therubyracer-0.10.1...
Installing ri documentation for commonjs-0.2.6...
Installing ri documentation for less-2.2.1...
Installing ri documentation for less-rails-2.2.3...
Installing ri documentation for twitter-bootstrap-rails-2.0.8...
Installing RDoc documentation for activesupport-3.2.5...
Installing RDoc documentation for activemodel-3.2.5...
Installing RDoc documentation for rack-1.4.1...
Installing RDoc documentation for journey-1.0.3...
Installing RDoc documentation for sprockets-2.1.3...
Installing RDoc documentation for actionpack-3.2.5...
Installing RDoc documentation for therubyracer-0.10.1...
Installing RDoc documentation for commonjs-0.2.6...
Installing RDoc documentation for less-2.2.1...
Installing RDoc documentation for less-rails-2.2.3...
Installing RDoc documentation for twitter-bootstrap-rails-2.0.8...
我应该运行捆绑更新吗?还是我只需要将 twitter-bootstrap-rails-2.0.8 添加到我的 gemfile 中?
什么是让它被我的“require”和“import”语句识别的正确方法?
我还将这一行添加到我的 application.css 中:
*= require twitter/bootstrap
谢谢!