我在当前的 Middleman 模板上添加了 Twitter bootstrap-sass。
https://github.com/twbs/bootstrap-sass
除了添加引导 javascript 之外,所有的 CSS 和东西都运行良好。
我在 layout.haml 文件中添加了这段代码
= require bootstrap
然后告诉我这个错误,
NameError at /
undefined local variable or method `bootstrap' for #<Middleman::Application:0x25001556>
Ruby d:/Ruby193/lib/ruby/gems/1.9.1/gems/middleman-core-3.2.1/lib/middleman-core/configuration.rb: in method_missing, line 78
Web GET localhost/