gemfileにtwitter-bootstrap-rails(2.0.1)を追加し、" bundle install "を実行しました。次に、「レールgブートストラップ:インストール」を実行し、すべてうまくいった。私は次のことを行なったし、エラーを得たレイアウト生成するには: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