Skip to content

Commit

Permalink
Get rid of the annoying md5 stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcolyer committed Aug 30, 2011
1 parent 73d35d9 commit 4096407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard/rails-assets/rails_runner.rb
Expand Up @@ -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)$/
Expand Down

0 comments on commit 4096407

Please sign in to comment.