Should be:
require 'fileutils'
FileUtils.cp source, dest  #note camel case for FileUtils

Sam wrote in post #814551:
> Roger Pack wrote:
>>
>> Did File.copy('name', 'dest_dir') disappear?
>> Thanks!
>> -=r
>
> require 'fileutils'
> Fileutils.cp source, dest

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