Simple way to include version 3.0.0 of Twitter Bootstrap in your Rails app. Please note that version 3.0.0 is a work in progress and subject to bugs and/or breaking changes.
Add this line to your application's Gemfile:
gem 'bootstrap-rails-three', :github => 'asanderson15/bootstrap-rails-three', :branch => 'master'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install bootstrap-rails-three
To implement this in Rails, add the following code to your application.css and application.js files:
//= require twitter/bootstrap
/* *= require twitter/bootstrap */
Thanks to AnjLab for bootstrap-rails and Seyhun Akyürek for twitter-bootstrap-rails gems. They were the inspiration. If you have a production app, you may want to use their gems as they are likely better maintained and more stable.
This is my first gem, so I would not be surprised if I messed something up. If so, please feel free to fork this or submit an issue or pull request. Thanks for your patience!
Copyright (c) 2013 Adam Anderson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.