From c1655a501fc26f7100dd788b42a1914be833fea4 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 26 Dec 2010 21:33:21 +0000 Subject: rev_thread_spawn: disable under Ruby 1.8 It still burns CPU at the first sign of doing anything interesting, so stop it. Ruby 1.9 is the future :P --- lib/rainbows/rev/thread.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/rainbows/rev/thread.rb b/lib/rainbows/rev/thread.rb index 0f36ce5..276b315 100644 --- a/lib/rainbows/rev/thread.rb +++ b/lib/rainbows/rev/thread.rb @@ -3,8 +3,8 @@ require 'thread' require 'rainbows/rev/master' -RUBY_VERSION =~ %r{\A1\.8} && Rev::VERSION < "0.3.2" and - warn "Rev (< 0.3.2) and Threads do not mix well under Ruby 1.8" +RUBY_VERSION =~ %r{\A1\.8} and + warn "Rev and Threads do not mix well under Ruby 1.8" module Rainbows module Rev -- cgit v1.2.3-24-ge0c7