From 19651584e8a669ffe4e72a715275bdcf1acbe7f1 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Wed, 17 Dec 2014 14:41:34 +0000 Subject: [PATCH] doc: compass install -r #229 --- README.md | 24 ++++++++++++++---------- templates/project/styles.sass | 3 +++ 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 4e7ebf3473..7c716c65f7 100644 --- a/README.md +++ b/README.md @@ -96,21 +96,25 @@ bootstrap-sass is no longer compatible with Rails 3. The latest version of boots ### b. Compass without Rails -Install the gem -```sh -gem install bootstrap-sass +Install the gem: + +```console +$ gem install bootstrap-sass ``` If you have an existing Compass project: -```ruby -# config.rb: -require 'bootstrap-sass' -``` +1. Require `bootstrap-sass` in `config.rb`: -```console -$ bundle exec compass install bootstrap -``` + ```ruby + require 'bootstrap-sass' + ``` + +2. Install Bootstrap with: + + ```console + $ bundle exec compass install bootstrap -r bootstrap-sass + ``` If you are creating a new Compass project, you can generate it with bootstrap-sass support: diff --git a/templates/project/styles.sass b/templates/project/styles.sass index 96dc2802d3..fb4a2e95e1 100644 --- a/templates/project/styles.sass +++ b/templates/project/styles.sass @@ -1,3 +1,6 @@ +// Import Bootstrap Compass integration @import "bootstrap-compass" +// Import custom Bootstrap variables @import "bootstrap-variables" +// Import Bootstrap for Sass @import "bootstrap"