Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # These are the steps I took to integrate Compass with Rails 3.1 and the asset pipeline.
- # 1. Add Compass to your Gemfile under the assets group
- # Gemfile
- group :assets do
- gem 'compass'
- # alongside other gems needed
- end
- # 2. Configure the load path for SASS
- # config/initializers/sass.rb
- Rails.configuration.sass.tap do |config|
- config.load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/compass/stylesheets"
- end
Add Comment
Please, Sign In to add comment