public
Last active

Rails 3.1 compass initializer

  • Download Gist
application.rb
Ruby
1
config.generators.stylesheet_engine = :sass
compass.rb
Ruby
1 2 3 4
Sass::Engine::DEFAULT_OPTIONS[:load_paths].tap do |load_paths|
load_paths << "#{Rails.root}/app/assets/stylesheets"
load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/compass/stylesheets"
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.