Skip to content

Instantly share code, notes, and snippets.

@stream7
Forked from chriseppstein/readme.md
Created September 1, 2011 05:40
Show Gist options
  • Save stream7/1185521 to your computer and use it in GitHub Desktop.
Save stream7/1185521 to your computer and use it in GitHub Desktop.
How to integrate Compass with Rails 3.1 asset pipeline

Super extra minimal Compass to Rails 3.1 bootstrap

Compass Rails integration is trivial in rails 3.1. The "config/compass.rb" file is optional.

if defined?(Bundler)
Bundler.require(:default, :assets, Rails.env)
end
group :assets do
gem 'sass-rails', '~> 3.1.0'
gem 'coffee-rails', '~> 3.1.0'
gem 'uglifier'
gem 'compass', '~> 0.12.alpha'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment