lib/html5-boilerplate.rb in html5-boilerplate-1.0.0 vs lib/html5-boilerplate.rb in html5-boilerplate-2.1.0
- old
+ new
@@ -1,5 +1,5 @@
-Compass::Frameworks.register("html5-boilerplate", :path => "#{File.dirname(__FILE__)}/..")
+Compass::Frameworks.register("html5-boilerplate", :path => "#{File.dirname(__FILE__)}/..") if defined?(Compass)
if defined?(ActionController)
require File.join(File.dirname(__FILE__), 'app', 'helpers', 'html5_boilerplate_helper')
ActionController::Base.helper(Html5BoilerplateHelper)
end