Skip to content

Instantly share code, notes, and snippets.

@wildjcrt
Forked from chriseppstein/readme.md
Created September 1, 2011 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wildjcrt/1185223 to your computer and use it in GitHub Desktop.
Save wildjcrt/1185223 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