about summary refs log tree commit homepage
path: root/Rakefile
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-05-11 19:10:34 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-05-11 19:10:34 +0000
commitaf7cebc8eb6c12b91bb047c89b321053a1f3685f (patch)
treeb70fb081c9c96cc0001dfe5ad9d4d8dd4018f3b2 /Rakefile
parenta46d3cfedbe14c672f52645167319bdfe959fb7b (diff)
downloadunicorn-af7cebc8eb6c12b91bb047c89b321053a1f3685f.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@165 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 7d5cd48..ce8aeca 100644
--- a/Rakefile
+++ b/Rakefile
@@ -16,7 +16,15 @@ desc "Does a full compile, test run"
 task :default => [:compile, :test]
 
 desc "Compiles all extensions"
-task :compile => [:http11]
+task :compile => [:http11] do
+  if Dir.glob(File.join("lib","http11.*")).length == 0
+    STDERR.puts "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+    STDERR.puts "Gem actually failed to build.  Your system is"
+    STDERR.puts "NOT configured properly to build RubyGems."
+    STDERR.puts "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+    exit(1)
+  end
+end
 task :package => [:clean,:compile,:test]
 
 task :ragel do
@@ -32,7 +40,7 @@ end
 setup_extension("http11", "http11")
 
 name="mongrel"
-version="0.3.12.5"
+version="0.3.13"
 
 setup_gem(name, version) do |spec|
   spec.summary = "A small fast HTTP library and server that runs Rails, Camping, and Nitro apps."