Patch ImageMagick on Heroku Create a new file on your project: .magick/policy.xml Add the following to its contents: <policymap> <policy domain="coder" rights="none" pattern="EPHEMERAL" /> <policy domain="coder" rights="none" pattern="URL" /> <policy domain="coder" rights="none" pattern="HTTPS" /> <policy domain="coder" rights="none" pattern="MVG" /> <policy domain="coder" rights="none" pattern="MSL" /> </policymap> Commit to Heroku (git commit -am "added imagemagick policy" && git push heroku master) Before ~ $ convert -list policy Path: [built-in] Policy: Undefined rights: None After ~ $ convert -list policy Path: [built-in] Policy: Undefined rights: None Path: /app/.magick/policy.xml Policy: Coder rights: None pattern: EPHEMERAL Policy: Coder rights: None pattern: URL Policy: Coder rights: None pattern: HTTPS Policy: Coder rights: None pattern: MVG Policy: Coder rights: None pattern: MSL
This is no longer required. A system-wide update has been shipped last night: https://devcenter.heroku.com/changelog-items/891
Exact change: heroku/base-images@c9a1d5a