This was asked in 2008. Hopefully there\'s a better answer now.
How can you combine PDFs in ruby?
I\'m using the pdf-stamper gem to fill out a form in a PDF.
Haven't seen great options in Ruby- I got best results shelling out to pdftk:
system "pdftk #{file_1} multistamp #{file_2} output #{file_combined}"