2014-01-15 4 views
1

현재 중개자 서식 파일에 Twitter bootstrap-sass를 추가했습니다. 중개자 서식 파일에 부트 스트랩 추가하기

https://github.com/twbs/bootstrap-sass

은 모든 CSS 및 구성 요소는 부트 스트랩 자바 스크립트를 추가하는 것을 제외하고 잘 작동하고 있습니다.

내가

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/ 

답변

0

을 내 layout.haml 파일

= require bootstrap 

을에이 코드를 추가 그리고 저에게이 오류가 표시 아마 당신이 갖는 문제는 당신이 = require bootstrap에 포장하지 않을 것입니다 haml 안에서 쉰다.

%style 
    :sass 
    = require bootstrap