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/stylesheets
orpublic/stylesheets/sass
toapp/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>
I'd say if it takes 50 seconds to recompile your Sass files, that is definitely an issue worth investigating.
I wouldn't know how to go about it, though... :)