Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rails 3.1.1 plugin install support

  • Loading branch information...
commit d2f0efb43e0c4fa1bbf2b54a55e3d564d9479106 1 parent a012741
@tjgfernandes tjgfernandes authored
Showing with 24 additions and 1 deletion.
  1. +23 −1 README.md
  2. +1 −0  init.rb
View
24 README.md
@@ -46,7 +46,29 @@ Compass Twitter Bootstrap is Twitter's toolkit converted for Compass.
**Import it into your SCSS file**
@import "compass_twitter_bootstrap"
-
+
+
+## Usage with Rails 3.1.1 (via plugin)
+
+**Install plugin**
+
+ rails plugin install git://github.com/tjgfernandes/compass-twitter-bootstrap.git
+
+**Add it to your config/initializers/sass.rb**
+
+ Rails.configuration.sass.tap do |config|
+ ...
+
+ # twitter bootstrap
+ config.load_paths << Compass::Frameworks['twitter_bootstrap'].stylesheets_directory
+
+ ...
+ end
+
+**Import it into your SCSS file**
+
+ @import "compass_twitter_bootstrap"
+
## TWITTER BOOTSTRAP
View
1  init.rb
@@ -0,0 +1 @@
+require 'compass_twitter_bootstrap.rb'
Please sign in to comment.
Something went wrong with that request. Please try again.