In my web projects, I use ASSET_INFIX variable to load minified CSS and JS in production and full in debug. Some lonely 404 flew by among many successful dependencies, it was this project. So I had to kludge my asset pipeline for exception.