Statically compile pdftk for Heroku. Need to split PDF into single page files

后端 未结 5 1196
暖寄归人
暖寄归人 2021-02-15 12:18

So we\'re using heroku to host our rails application. We\'ve moved to the cedar stack. This stack does not have the pdftk library installed. I contacted support and was told to

5条回答
  •  名媛妹妹
    2021-02-15 13:04

    Unfortunately Heroku keeps stripping out magic to add flexibility. As a result it feels more and more like the days when I used to manage and maintain my own servers. There is no easy solution. My "monkey patch" is to send the file to a server that I can install PDFTK, process the file, and send it back. Not great, but it works. Having to deal with this defeats the purpose of using heroku.

提交回复
热议问题