don't always need to clear that

This commit is contained in:
John Bintz 2012-03-21 22:27:39 -04:00
parent 04854f42e4
commit 407ebe9c08

View File

@ -40,8 +40,6 @@ module Flowerbox
return @environment if @environment return @environment if @environment
@environment = Sprockets::Environment.new @environment = Sprockets::Environment.new
FileUtils.rm_rf(Flowerbox.cache_dir)
@environment.cache = Sprockets::Cache::FileStore.new(Flowerbox.cache_dir) @environment.cache = Sprockets::Cache::FileStore.new(Flowerbox.cache_dir)
self.class.gem_asset_paths.each { |path| append_path(path) } self.class.gem_asset_paths.each { |path| append_path(path) }