lib/classy_assets/tasks.rb in classy_assets-0.14.4 vs lib/classy_assets/tasks.rb in classy_assets-0.14.5
- old
+ new
@@ -1,7 +1,11 @@
# encoding: utf-8
+if defined?(Bundler)
+ Bundler.require(:assets)
+end
+
require 'rake'
require 'rake/sprocketstask'
require 'classy_assets'
module ClassyAssets
@@ -17,9 +21,10 @@
t.environment = ClassyAssets.sprockets
t.output = ClassyAssets.config.asset_precompile_path
t.assets = ClassyAssets.config.asset_precompile
t.keep = ClassyAssets.config.asset_precompile_keep
t.manifest = ::Sprockets::Manifest.new(t.environment, ClassyAssets.config.asset_manifest_path)
+ t.log_level = :debug
end
end
end
end