README.md in anjlab-bootstrap-rails-0.0.3 vs README.md in anjlab-bootstrap-rails-0.0.4
- old
+ new
@@ -8,17 +8,18 @@
## Rails 3.1
Include Bootstrap in Gemfile;
``` ruby
-gem 'anjlab-bootstrap-rails'
+gem 'anjlab-bootstrap-rails', :require => 'bootstrap-rails'
```
or you can install from latest build;
``` ruby
-gem 'anjlab-bootstrap-rails', :git => 'http://github.com/anjlab/bootstrap-rails.git'
+gem 'anjlab-bootstrap-rails', :require => 'bootstrap-rails',
+ :git => 'git://github.com/anjlab/bootstrap-rails.git'
```
and run bundle install.
## Stylesheets
@@ -53,13 +54,23 @@
@import "patterns.scss";
```
## Javascripts
-Add necessary javascripts files to app/assets/javascripts/application.js
+Add necessary javascript(s) files to app/assets/javascripts/application.js
``` javascript
+// Include all twitter's javascripts
//= require bootstrap
+
+// Or peek any of them yourself
+//= require bootstrap-alerts
+//= require bootstrap-dropdown
+//= require bootstrap-modal
+//= require bootstrap-popover
+//= require bootstrap-scrollspy
+//= require bootstrap-tabs
+//= require bootstrap-twipsy
```
## Thanks
Thanks Twitter for Bootstrap
http://twitter.github.com/bootstrap
\ No newline at end of file