Permalink
Browse files

rails 3.1.1 plugin install support

  • Loading branch information...
1 parent a012741 commit d2f0efb43e0c4fa1bbf2b54a55e3d564d9479106 @tjgfernandes committed Nov 8, 2011
Showing with 24 additions and 1 deletion.
  1. +23 −1 README.md
  2. +1 −0 init.rb
View
@@ -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
@@ -0,0 +1 @@
+require 'compass_twitter_bootstrap.rb'

1 comment on commit d2f0efb

vwall commented on d2f0efb Dec 6, 2011

Can you update the link on line 55.

Please sign in to comment.