Skip to content

Commit

Permalink
rails 3.1.1 plugin install support
Browse files Browse the repository at this point in the history
  • Loading branch information
tjgfernandes committed Nov 8, 2011
1 parent a012741 commit d2f0efb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions init.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require 'compass_twitter_bootstrap.rb'

0 comments on commit d2f0efb

Please sign in to comment.