Currently installs Ghostscript 9.26 on Heroku Cedar.
$ cd /path/to/your-app
$ heroku buildpacks:add https://github.com/jpaas/heroku-buildpack-ghostscript.git
# Push changes to deploy
$ git push
# This version of ghostscript will end up deployed at /app/vendor/gs/bin/gs
# So you may want to set an environment variable to let your app know where it is. e.g.
$ heroku config:set GS_PATH=/app/vendor/gs/bin/gs
# Well - the reality is that it isn't deployed to /app/vendor/gs/bin/gs.
# It seems to end up at /usr/bin/gs
# So you may want to set an environment variable to let your app know where it is. e.g.
$ heroku config:set GS_PATH=/usr/bin/gs