From ca4c0b2938669f96eb0d71a0911275abb247e418 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 22 Dec 2009 13:29:09 -0800 Subject: base: fix constant resolution under 1.8 for 1.8 bugfix --- lib/rainbows/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rainbows/base.rb b/lib/rainbows/base.rb index 20c7681..a29a5bb 100644 --- a/lib/rainbows/base.rb +++ b/lib/rainbows/base.rb @@ -17,7 +17,7 @@ module Rainbows # avoid spurious wakeups and blocking-accept() with 1.8 green threads if RUBY_VERSION.to_f < 1.9 require "io/nonblock" - LISTENERS.each { |l| l.nonblock = true } + HttpServer::LISTENERS.each { |l| l.nonblock = true } end # we're don't use the self-pipe mechanism in the Rainbows! worker -- cgit v1.2.3-24-ge0c7