-
-
Save spastorino/6a13a8617aac7e3ca950 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/sass/rails/railtie.rb b/lib/sass/rails/railtie.rb | |
index 90a5a71..377e563 100644 | |
--- a/lib/sass/rails/railtie.rb | |
+++ b/lib/sass/rails/railtie.rb | |
@@ -30,7 +30,7 @@ module Sass::Rails | |
# to the rails generate command | |
config.app_generators.stylesheet_engine config.sass.preferred_syntax | |
- config.before_initialize do | |
+ initializer :register_engines, :group => :all do | |
require 'sass' | |
# Assume dependency on sprockets, not on app.config.assets enabled. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment