Compass Rails integration is trivial in rails 3.1. The "config/compass.rb" file is optional.
-
-
Save wildjcrt/1185223 to your computer and use it in GitHub Desktop.
How to integrate Compass with Rails 3.1 asset pipeline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if defined?(Bundler) | |
Bundler.require(:default, :assets, Rails.env) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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