From: Stefano Crocco Date: 2011-04-07T18:01:06+09:00 Subject: Re: uninitialized constant Fileutils (NameError)? On Thursday 07 April 2011 17:45:43 Thomas Luedeke wrote: > I do not understand what is going on here - I've done this a multitude > of times and all of a sudden it doesn't work any more. > > I've got a "require 'fileutils'" at the beginning of my script, but when > I use the file copy command "Fileutils.cp" it just keeps stopping with > the uninitialized constant error. > > What potential problem is going on here? I'm using Ruby 1.9. It's FileUtils (note the capital U), not Fileutils. Stefano