Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
Fix tilt autoloading warning
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Aug 24, 2012
1 parent 2ad18c4 commit 1116752
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/sprockets/sass_template.rb
Expand Up @@ -15,7 +15,10 @@ def self.engine_initialized?
end

def initialize_engine
require_template_library 'sass'
# Double check constant to avoid tilt warning
unless defined? ::Sass
require_template_library 'sass'
end

# Install custom functions. It'd be great if this didn't need to
# be installed globally, but could be passed into Engine as an
Expand Down

0 comments on commit 1116752

Please sign in to comment.