From 2224b68cfbd77bc117c79d3db6e3c320bb8aafc6 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 9 Jun 2010 23:48:28 +0000 Subject: Rakefile: only try rake-compiler if VERSION is defined Our gemspec won't work without it --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 25c6620..feace20 100644 --- a/Rakefile +++ b/Rakefile @@ -179,7 +179,7 @@ begin if File.readable?(mk) warn "run 'gmake -C ext/unicorn_http clean' and\n" \ "remove #{mk} before using rake-compiler" - else + elsif ENV['VERSION'] unless File.readable?("ext/unicorn_http/unicorn_http.c") abort "run 'gmake ragel' or 'make ragel' to generate the Ragel source" end -- cgit v1.2.3-24-ge0c7