ruby on rails - Force Heroku to Recompile All Assets -
i updated 2 images , heroku serving 1 correctly other still old image. output of deploy logs show both images being precompiled new hashes hash used retrieve 1 of them (from application.css file) still old hash , it's grabbing old image somehow.
i'd force heroku recompile every asset , restart server (essentially fresh deploy). seems "intelligently" precompile assets judges being new. tried doing rake assets:clobber , rake assets:precompile changed nothing -- still using old hash grab old image version one, getting other. other options try?
expiring assets manually worked -- changed config.assets.version = 1.0 1.1 in config/production.rb. still not sure happened, though.
Comments
Post a Comment