Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Compass/compass-rails
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdavis committed Jan 29, 2012
2 parents 478adf9 + d03b814 commit 3008099
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions README.md
Expand Up @@ -11,24 +11,29 @@ please read the caviats below.

## Installation

Add the `compass-rails` gem line to a group called `:assets` in your application's Gemfile:
Add the `compass-rails` gem line to a group called `:assets` in your application's Gemfile (Rails 3.1+ users should already have the `:assets` group):

group :assets do
gem 'compass-rails'
end

If you are using any Compass extensions, add them to this group in your
Gemfile.

And then execute:

$ bundle

If you have a Rails 2.3 project you must now run:
To set up your project with starter stylesheets and a configuration
file:

$ bundle exec compass init

$ ./script/generate compass_rails:install
If using a compass-based framework (like [susy](http://susy.oddbird.net/) or [blueprint](http://compass-style.org/reference/blueprint/)) then you can use the `--using` option:

Optionally, if you have a project running Rails 3.0 or greater and you want
a compass configuration file and starter stylesheets, run:
$ bundle exec compass init --using blueprint

$ rails generate compass_rails:install
Note that the `compass init` step is optional if you have a project running Rails 3.0 or greater.

## Configuration

Expand Down

0 comments on commit 3008099

Please sign in to comment.