Skip to content

Instantly share code, notes, and snippets.

@pollingj
Created December 21, 2010 16:03
Show Gist options
  • Save pollingj/750111 to your computer and use it in GitHub Desktop.
Save pollingj/750111 to your computer and use it in GitHub Desktop.
How to get SASS to load in SASS (SCSS) files from plugins (or other folders)
Dir[Rails.root.join("vendor/game_types/**/app/stylesheets")].each do |sass_folder|
Sass::Plugin.add_template_location(
sass_folder,
sass_folder + '/../../public/stylesheets'
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment