From f834811c948e55fdd5e128990ca9ad2df85f3281 Mon Sep 17 00:00:00 2001 From: evanweaver Date: Tue, 25 Sep 2007 21:53:18 +0000 Subject: override so output location for now git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@631 19e92222-5c0b-0410-8929-a290d50e31e9 --- Rakefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 5178c71..58b04a6 100644 --- a/Rakefile +++ b/Rakefile @@ -30,12 +30,17 @@ end task :compile do # Append a sanity check to the compile task - if Dir.glob(File.join("lib","http11.*")).length == 0 + files = Dir["lib/http11/http11.*"] + unless files.any? STDERR.puts "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" STDERR.puts "Gem actually failed to build. Your system is" STDERR.puts "NOT configured properly to build Mongrel." STDERR.puts "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" exit(1) + else + files.each do |file| + mv file, "lib/" + end end end -- cgit v1.2.3-24-ge0c7