Skip to content

Instantly share code, notes, and snippets.

@denmarkin
Forked from grk/config_initializers_sass.rb
Created October 6, 2011 08:03
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 denmarkin/1266804 to your computer and use it in GitHub Desktop.
Save denmarkin/1266804 to your computer and use it in GitHub Desktop.
Sass load paths Rails 3.1
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"
load_paths << "#{Gem.loaded_specs['html5-boilerplate'].full_gem_path}/stylesheets"
load_paths << "#{Gem.loaded_specs['fancy-buttons'].full_gem_path}/lib/stylesheets"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment