내 gemfile에 twitter-bootstrap-rails (2.0.1)를 추가하고 "bundle install"을 실행했습니다. 다음으로 레일스 부트 스트랩을 설치했다. 레이아웃을 생성하기 위해 다음을 수행하여 오류가 발생했습니다 :Twitter 부트 스트랩 레일 오류입니다. "정의되지 않은 지역 변수 또는 메소드`flash '"
My-MacBook-Pro:todo my$ rails g bootstrap:layout application fixed
Bootstrap helpers installs to application_helper...
insert app/helpers/application_helper.rb
create app/views/layouts/application.html.haml
(erb):67:in `block in template': undefined local variable or method `flash' for #<Bootstrap::Generators::LayoutGenerator:0x00000102bb2c10> (NameError)
from (erb):66:in `each'
from (erb):66:in `template'
from /Users/my/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/erb.rb:838:in `eval'
어떻게 처리하나요? 레일 3.2.1, 루비 1.9.3p0을 실행 중이며 'haml-rails'를 사용하고 있습니다.
와 Gemfile은 GitHub의 저장소에 문제를 엽니 다? – shingara