From: Brian Candler Date: 2012-11-03T06:16:36+09:00 Subject: Re: exception: can't convert nil into String Bartosz DziewoƄski wrote in post #1082535: > You don't set the pdffile variable anywhere. ? He sets it to ARGV[0]. Perhaps he ran the script without providing an argument? I have no idea why he's globbing *.pdf and then ignoring the results though. -- Posted via http://www.ruby-forum.com/.