Virtual_asset_path is a project mainly written in Ruby, it's free.
Improve Rails Asset Caching with MD5 and virtual folders
404: Not Found