Topic: Starting Acrobat Reader in code
After generating a PDF via prawn, I succeed in automatically displaying the file using Acrobat, in Linux.
I get this error though:
dirname: missing operand
Try `dirname --help' for more information.
The code is:
system '/usr/bin/acroread', 'reports/test.pdf'
What am I missing? Typing dirname --help was of no help.
Last edited by vilanye (2010-07-12 21:46:30)