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
Using andedebauchery's excellent answer as a guide, I adapted these steps to get pdftk installed on my Heroku Node.js app from my Windows machine in September, 2015. The main differences between his steps and mine are:
I had to update the URL for the github repository from https://github.com/millie/pdftk-source.git to https://github.com/SirRawlins/pdftk-source
I had to download BSDtar in order to extract the executable from the pdftk.tar.gz (I tried GnuWin32 tar.exe first and it didn't work because it doesn't handle .tar.gz files)
I had to use git update-index --add --chmod=+x pdftk
to grant execute permission on the file once it got to the remote Linux environment
Hopefully this will help other Windows developers in the future!