D
Daniel Berger
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
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