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:
parent
1b05168d47
commit
f834811c94
1 changed files with 6 additions and 1 deletions
7
Rakefile
7
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue