Rake problem

Rake (0.4.11) seems to add a whole bunch of new methods to Object. Why is
this?

irb(main):004:0> diff = m2 - m1
=> ["cmp", "getwd", "cd", "ruby", "nowrite", "rm", "touch", "split_all",
"rmtree", "remove_file", "c
opy_stream", "safe_unlink", "compare_stream", "pwd", "link", "remove",
"mkpath", "when_writing", "ln
_s", "uptodate?", "chmod", "rm_f", "safe_ln", "copy_file", "rm_r",
"symlink", "sh", "mv", "mkdir_p",
"compare_file", "ln_sf", "identical?", "verbose", "makedirs", "mkdir",
"cp_r", "copy", "cp", "remov
e_dir", "chdir", "rmdir", "move", "ln", "rm_rf", "install"]

In my case, this causes application failure as soon as I require one of my
files into the rakefile.

Help? Thanks!

Rake (0.4.11) seems to add a whole bunch of new methods to Object. Why is
this?

Because 90% (a statistic I just made up) of Rake usage deals with the creation
and management of files, Rake will include the FileUtils module at top level.

In my case, this causes application failure as soon as I require one of my
files into the rakefile.

I'm not clear why this is causing you problems. Can you send me an example?

Thanks.

ยทยทยท

On Monday 22 November 2004 06:58 pm, itsme213 wrote:

--
-- Jim Weirich jim@weirichhouse.org http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)