From 1c5bb1405f025e5aa7607d62735ff44c77c3ef32 Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Thu, 23 Apr 2009 15:39:57 -0400 Subject: [PATCH] remove entire output dir, not just a single version --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index bd765a2..6436547 100644 --- a/Rakefile +++ b/Rakefile @@ -23,7 +23,7 @@ desc "Generate documentation" task :rdoc do version = eval(File.read("mongo-ruby-driver.gemspec")).version out = File.join('html', version.to_s) - FileUtils.rm_rf(out) + FileUtils.rm_rf('html') system "rdoc --main README.rdoc --op #{out} --inline-source --quiet README.rdoc `find lib -name '*.rb'`" end