diff options
Diffstat (limited to 'lib/rainbows/rev_thread_spawn.rb')
-rw-r--r-- | lib/rainbows/rev_thread_spawn.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rainbows/rev_thread_spawn.rb b/lib/rainbows/rev_thread_spawn.rb index f2ce822..ae7ff79 100644 --- a/lib/rainbows/rev_thread_spawn.rb +++ b/lib/rainbows/rev_thread_spawn.rb @@ -1,8 +1,9 @@ # -*- encoding: binary -*- require 'rainbows/rev' -RUBY_VERSION =~ %r{\A1\.8} and - warn "Rainbows::RevThreadSpawn does not work well under Ruby 1.8" +RUBY_VERSION =~ %r{\A1\.8} && ::Rev::VERSION < "0.3.2" and + warn "Rainbows::RevThreadSpawn + Rev (< 0.3.2)" \ + " does not work well under Ruby 1.8" module Rainbows |