From: Hassan Schroeder Date: 2013-05-09T01:43:06+09:00 Subject: Re: Problem with FileUtils move command. On Wed, May 8, 2013 at 8:56 AM, Peter Bailey wrote: > Yeh, that's the name of the PDF I want the script to work on. I'm using > 2.0.0p0 Ruby. > > I ran your little script there, and, I got "foo." Well, I can't imagine how you could be passing in an argument and yet ARGV is empty. I certainly can't find any way to reproduce it on OS X. Do you have another Windows box to try it on? Alternately move that raise statement to be the first program line and run the script with -w for verbose output, though I doubt that'll tell us anything different. -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan