about summary refs log tree commit homepage
path: root/yahns.gemspec
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-12-16 22:54:55 +0000
committerEric Wong <e@80x24.org>2014-12-20 04:10:22 +0000
commitf8a260976417f14bb0de59ca3f6645813edb37b7 (patch)
treefc93f837dc5356e6cbbc32c13a84536659a4c72c /yahns.gemspec
parent0270501f70ed74552a13f85ea0b85ce3389f84e8 (diff)
downloadyahns-f8a260976417f14bb0de59ca3f6645813edb37b7.tar.gz
Not everybody needs to serve or even buffer to regular files,
so make sendfile optional to avoid the extra memory use and
relocations.
Diffstat (limited to 'yahns.gemspec')
-rw-r--r--yahns.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/yahns.gemspec b/yahns.gemspec
index db1d50e..120dc46 100644
--- a/yahns.gemspec
+++ b/yahns.gemspec
@@ -12,8 +12,8 @@ Gem::Specification.new do |s|
   s.files = manifest
   s.add_dependency(%q<kgio>, '~> 2.9')
   s.add_dependency(%q<sleepy_penguin>, '~> 3.2')
-  s.add_dependency(%q<kgio-sendfile>, '~> 1.2')
   s.add_dependency(%q<unicorn>, '~> 4.6', '>= 4.6.3')
+  # s.add_dependency(%q<kgio-sendfile>, '~> 1.2') # optional
 
   # minitest is standard in Ruby 2.0, 4.3 is packaged with Ruby 2.0.0,
   # 4.7.5 with 2.1.  We work with minitest 5, too.  6.x does not exist