1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

override so output location for now

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@631 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
evanweaver 2007-09-25 21:53:18 +00:00
parent 1b05168d47
commit f834811c94

View file

@ -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