How do you know that the script didn’t run? I would look for the
obvious problems, like permissions. Can the user that is runing your
rails app get to the file? What are the permissions on the directory?
Does the file personalizePDF.pl have the execute bit set? etc.
How about redirecting stderr to a file in /tmp and see if a) the file
gets created and if there are problems with running it?
Lots of investigation to be done.
Bruce.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.