I've got two servers... When deploying to them, they each call bundle exec rake assets:precompile
. The result is two totally different md5 fingerprints for identical files:
from server 1:
-rw-r--r-- 1 me 867345376 975106 Nov 30 10:22 vendor-1c2d7ad5dd44eab9d087.js
from server 2:
-rw-r--r-- 1 me 867345376 975106 Nov 30 10:22 vendor-ec1d725a07fbfbdc2b9d.js
As you can see, they both have the same file size, and diffing the two files has no output (because they are identical). Any idea on how or why this could happen? This is problematic because the load balancer redirects to a server that potentially does not have the file with that fingerprint.
UPDATE: This is with rails 4.2.8 and sprockets 3.7.1