AdamT AdamT - 1 month ago 23
CSS Question

twitter-bootstrap-rails gem workflow

How do I use the twitter-bootstrap-rails gem in my Rails 3.2.1 app? What is the workflow?

After I do:

rails g bootstrap:layout [LAYOUT_NAME] [*fixed or fluid] [options]


what do I do next? Do I just copy and paste the generated code into my view? Do I do this for every view? If so, how is doing

rails g bootstrap:themed [RESOURCE_NAME] [LAYOUT] [options]


any different?

Do you guys even use the rails generators?

Thanks

Answer

There is a RailsCasts tutorial that is a great starting point:

http://railscasts.com/episodes/328-twitter-bootstrap-basics