Permalink
Browse files

Get rid of the annoying md5 stuff.

  • Loading branch information...
1 parent 73d35d9 commit 4096407a7a27711011bba1e6cc833d27af8ee9ce @mcolyer mcolyer committed Aug 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard/rails-assets/rails_runner.rb
@@ -36,7 +36,7 @@ def precompile
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)$/

0 comments on commit 4096407

Please sign in to comment.