Compass Rails integration is trivial in rails 3.1. The "config/compass.rb" file is optional now.
During deploy run:
rake assets:precompile
- Move your stylesheets from
app/stylesheetsorpublic/stylesheets/sasstoapp/assets/stylesheets. - Rename all non partials to
*.css.s[ac]ss
-
Gem based plugins: Add plugin to Gemfile
-
Archive based plugins: unpack the extension into
vendor/plugins/compass_extensions -
(optionally) Install the plugin templates. E.g.
bundle exec compass install <plugin>