about summary refs log tree commit homepage
path: root/lib/rainbows/dev_fd_response.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-11-19 10:19:43 +0000
committerEric Wong <normalperson@yhbt.net>2010-11-19 14:44:21 -0800
commit00b854e37391322c05cc16115b245d855b4970be (patch)
treed6ad270abfa9352efbeba27c85d64de11210270a /lib/rainbows/dev_fd_response.rb
parent0f00424be24806791f2b253ddac6d35102842646 (diff)
downloadrainbows-00b854e37391322c05cc16115b245d855b4970be.tar.gz
Kgio 2.0.0 has a superior API and less likely to conflict or
blow up with other applications.  Unicorn 3.x requires Kgio 2.x,
too.
Diffstat (limited to 'lib/rainbows/dev_fd_response.rb')
-rw-r--r--lib/rainbows/dev_fd_response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/dev_fd_response.rb b/lib/rainbows/dev_fd_response.rb
index ec09d1e..67c94d7 100644
--- a/lib/rainbows/dev_fd_response.rb
+++ b/lib/rainbows/dev_fd_response.rb
@@ -54,7 +54,7 @@ class Rainbows::DevFdResponse < Struct.new(:app)
       # we need to make sure our pipe output is Fiber-compatible
       case env["rainbows.model"]
       when :FiberSpawn, :FiberPool, :RevFiberSpawn
-        io.respond_to?(:wait_readable) or
+        io.respond_to?(:kgio_wait_readable) or
           io = Rainbows::Fiber::IO.new(io)
       when :Revactor
         io = Rainbows::Revactor::Proxy.new(io)