From: Ronald Fischer Date: 2007-08-29T22:21:35+09:00 Subject: Re: rake + FileUtils == warining > Ronald Fischer wrote: > > When I require both rake and FileUtils, i.e. > > > > require 'rake' # for String#ext > > require 'FileUtils' > > > > I get the following warnings: > > > > c:/ruby186/lib/ruby/1.8/FileUtils.rb:93: warning: already > initialized > > constant OPT_TABLE [snip] > Are you sure you don't want to require 'fileutils' rather than > 'FileUtils'? Indeed, I needed to write it as 'fileutils' and the error disappears. Now I wonder why I never got an error before in my application (I had always required 'FileUtils' before, but got an error only when I also started to use rake. It seems that Ruby had at least included *something* when I asked for FileUtils..... -- Ronald Fischer Phone: +49-89-452133-162