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 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
zhangandyx
commented
Jun 30, 2012
Sass rails really needs an init script that globs this :) Thanks! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
grillermo
Jan 5, 2015
For foundation the line to add looks like this
load_paths << "#{Gem.loaded_specs['foundation-rails'].full_gem_path}/vendor/assets/stylesheets"
grillermo
commented
Jan 5, 2015
For foundation the line to add looks like this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sass rails really needs an init script that globs this :)
Thanks!