How to add pdftk to Heroku Cedar app?

前端 未结 4 2020
不思量自难忘°
不思量自难忘° 2021-02-01 10:06

I need to merge multiple PDF files into one in my Heroku Cedar Rails app, and have settled upon using pdftk to do this.

I\'m lost as to how to do this. I think the bes

4条回答
  •  执笔经年
    2021-02-01 10:37

    I've got this working now, and a publicly available version of a custom Heroku Ruby buildpack with pdftk is here: https://github.com/millie/heroku-buildpack-ruby-pdftk

    Be sure to see the instructions in the README.

    Precompiled version of pdftk for Heroku's Cedar stack is available here: https://github.com/millie/pdftk-source

    Hope this saves someone else some trouble!

提交回复
热议问题