From: Bertram Scharpf Date: 2009-08-13T12:26:08+09:00 Subject: Re: move a file Hi, Am Donnerstag, 13. Aug 2009, 10:48:10 +0900 schrieb Derek Smith: > > ruby /tmp/test > /tmp/test:8: syntax error, unexpected ')', expecting kDO_BLOCK > > FileUtils.mv("#{file}.copied",ZIPDIR"#{file}.tst") ^^^ Try it with something like (untested) "#{ZIPDIR}/#{file}.tst" File.join ZIPDIR, "#{file}.tst" Syntax errors are the easiest to solve. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de