Skip to content

Commit

Permalink
java doesn't depend on cgi_multipart_eof_fix anymore
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-1@909 19e92222-5c0b-0410-8929-a290d50e31e9
  • Loading branch information
evanweaver committed Dec 15, 2007
1 parent 04cf081 commit 6161ec8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rakefile
Expand Up @@ -10,7 +10,7 @@ e = Echoe.new("mongrel") do |p|
p.rdoc_pattern = ['README', 'LICENSE', 'CHANGELOG', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc']
p.ignore_pattern = /^(pkg|site|projects|doc|log)|CVS|\.log/
p.ruby_version = '>= 1.8.4'
p.dependencies = ['gem_plugin >=0.2.3', 'cgi_multipart_eof_fix >=2.4']
p.dependencies = ['gem_plugin >=0.2.3']
(p.rdoc_template = `allison --path`.chomp) rescue nil

p.need_tar_gz = false
Expand All @@ -31,13 +31,15 @@ e = Echoe.new("mongrel") do |p|
extensions.clear
self.files += ['lib/http11.so']
self.platform = Gem::Platform::WIN32
add_dependency('cgi_multipart_eof_fix', '>= 2.4')
when /java/
extensions.clear
self.files += ['lib/http11.jar']
self.platform = 'jruby'
else
add_dependency('daemons', '>= 1.0.3')
add_dependency('fastthread', '>= 1.0.1')
add_dependency('cgi_multipart_eof_fix', '>= 2.4')
end
end

Expand Down

0 comments on commit 6161ec8

Please sign in to comment.