From 4096407a7a27711011bba1e6cc833d27af8ee9ce Mon Sep 17 00:00:00 2001 From: Matt Colyer Date: Mon, 29 Aug 2011 22:29:24 -0700 Subject: [PATCH] Get rid of the annoying md5 stuff. --- lib/guard/rails-assets/rails_runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/guard/rails-assets/rails_runner.rb b/lib/guard/rails-assets/rails_runner.rb index 2a52d7c..b7041e5 100644 --- a/lib/guard/rails-assets/rails_runner.rb +++ b/lib/guard/rails-assets/rails_runner.rb @@ -36,7 +36,7 @@ module Guard end if asset = env.find_asset(logical_path) - filename = target.join(asset.digest_path) + filename = target.join(asset.pathname.basename) mkdir_p filename.dirname asset.write_to(filename) asset.write_to("#{filename}.gz") if filename.to_s =~ /\.(css|js)$/