about summary refs log tree commit homepage
path: root/lib/rainbows/rev/thread.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/rev/thread.rb')
-rw-r--r--lib/rainbows/rev/thread.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rainbows/rev/thread.rb b/lib/rainbows/rev/thread.rb
index 8fa43ac..677a7c8 100644
--- a/lib/rainbows/rev/thread.rb
+++ b/lib/rainbows/rev/thread.rb
@@ -2,6 +2,9 @@
 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"
+
 module Rainbows
   module Rev