Guest User

Untitled

a guest
Jan 21st, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. # These are the steps I took to integrate Compass with Rails 3.1 and the asset pipeline.
  2.  
  3. # 1. Add Compass to your Gemfile under the assets group
  4. # Gemfile
  5. group :assets do
  6. gem 'compass'
  7. # alongside other gems needed
  8. end
  9.  
  10. # 2. Configure the load path for SASS
  11. # config/initializers/sass.rb
  12. Rails.configuration.sass.tap do |config|
  13. config.load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/compass/stylesheets"
  14. end
Add Comment
Please, Sign In to add comment