From: Peter Bailey Date: 2013-05-09T00:56:33+09:00 Subject: Re: Problem with FileUtils move command. Hassan Schroeder wrote in post #1108265: > On Wed, May 8, 2013 at 8:22 AM, Peter Bailey > wrote: > >> > F:\workflows\graphics\Asura-Non\RCSCR\in>e:\live\scripts\ruby\asura-non\rcscr\rcscr_pdf_single.rb >> hlst205ar-15.pdf >> e:/live/scripts/ruby/asura-non/rcscr/RCSCR_PDF_single.rb:11:in `
': >> no file specified (RuntimeError) > > Is "hist205ar-15.pdf" the name you're passing to the script? Hard > to tell with the email wrapping. > > Maybe this is just broken in Windows. What ruby version are you > running? Does this following snippet return 'foo' ? > > ruby -e "raise 'no arg given' unless ARGV[0]; puts ARGV[0]" foo 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." -- Posted via http://www.ruby-forum.com/.