]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Updating directory name from 'sass' to 'scss' 781/head
authorScott Jungling <sjungling@csuchico.edu>
Sat, 11 Aug 2012 00:09:05 +0000 (17:09 -0700)
committerScott Jungling <sjungling@csuchico.edu>
Sat, 11 Aug 2012 00:09:05 +0000 (17:09 -0700)
This was causing `rails g foundation:install` to error out as it was unable to find the `_settings.scss` file

lib/foundation/generators/install_generator.rb

index 92c31142c03211071f655e4bdd16dae44a56f8d4..da5a6dad45c3d75e7024944802d0eb7a2ff9dc13 100644 (file)
@@ -7,7 +7,7 @@ module Foundation
       
       def add_assets                  
         insert_into_file "app/assets/javascripts/application#{detect_js_format[0]}", "#{detect_js_format[1]} require foundation\n", :after => "jquery_ujs\n"
-        settings_file = File.join(File.dirname(__FILE__),"..","..","..","templates","project","sass","_settings.scss")
+        settings_file = File.join(File.dirname(__FILE__),"..","..","..","templates","project","scss","_settings.scss")
         create_file "app/assets/stylesheets/foundation_and_overrides.scss", File.read(settings_file)
         append_to_file "app/assets/stylesheets/foundation_and_overrides.scss", "\n@import 'foundation';\n"
         insert_into_file "app/assets/stylesheets/application#{detect_css_format[0]}", "#{detect_css_format[1]} require foundation_and_overrides\n", :after => "require_self\n"