Closed danmcclain closed 10 years ago
Should it write to both paths?
No, heroku completely ignores it otherwise, rails generates it with the MD5 hash
generateRailsManifest
infers Rails, NOT Heroku. I find the actual manifest in a consistent location to be useful also.
I just re-read what you said, and it seems that Rails itself generates this with an MD5 in the filename (I didn't realize that), so you are right to only generate a single file in the fashion that Rails expects it.
Sorry for the extra noise....
Good point, but rails explicitly says it will be called manifest-md5hash.json: http://guides.rubyonrails.org/asset_pipeline.html#precompiling-assets
@rjackson You're ALLLL noise :metal:
I'm not a rails user so @rjackson can you sign off on this if its good to merge?
:+1:
Published as 0.0.16
Awesome, thanks!
Heroku expects a hash in the filename, Heroku will try to precomile the assets, and this causes bad assets to be used