Ruby, PDF

Ruby, PDF

Posted by: lucashaley
Posted on: 2008-01-29 18:01:00

Heya all -- I'm looking for a little help. I need to be able to take data entered from a website form and propagate form fields in a PDF. As far as i can tell, the only solution to do this is using the Java-based iText and the Ruby/Java Bridge. I'm trying to install the rjb gem in my own gem directory, but it doesn't want to install. I get the error:

checking for jni.h... no
checking for ruby/dl.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Has anyone out there had any luck with this combo? Thanks in advance for any help!

-Lucas

Re: Ruby, PDF

Posted by: megrisoft
Posted on: 2008-01-29 21:22:00

Are you sure that it will be done with Java only, we have done it with PHP and it works great!

Custom PHP Programming

Re: Ruby, PDF

Posted by: lucashaley
Posted on: 2008-01-31 10:42:00

Really? I'm super curious how you went about it. Did you use a package, or roll your own? Thanks for any help!

-Lucas

Tags: configuration optionsthanks in advancerubyrbdlbridge