From: Daniel Berger Date: 2005-05-02T06:19:27+09:00 Subject: Rake goes into infinite loop on Windows Hi all, Windows XP Ruby 1.8.2 Rake 0.5.4 When I tried this simple rakefile it went into an infinite loop (and leaks like a sieve). Experiments show that it seems to be happening in the directory task. Am I doing something wrong? # rakefile require "rbconfig" require "rake/testtask" include Config destdir = CONFIG["sitelibdir"] + "/html" directory destdir # Inifinite loop here desc "Install html-table" task :install do |t| FileUtils["lib/html/*.rb"].each{ |file| cp(file, destdir) } end Regards, Dan