File.split() doesn't do what you think it does, namely it does not 
retrieve the files from the dir you specify.  I'm not sure why you think 
a method named split() would retrieve all the files from a directory.

-- 
Posted via http://www.ruby-forum.com/.