about summary refs log tree commit homepage
path: root/lib/rainbows/rev.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/rev.rb')
-rw-r--r--lib/rainbows/rev.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/rainbows/rev.rb b/lib/rainbows/rev.rb
index 1e425fe..16d00aa 100644
--- a/lib/rainbows/rev.rb
+++ b/lib/rainbows/rev.rb
@@ -1,13 +1,5 @@
 # -*- encoding: binary -*-
-begin
-  require 'coolio'
-  Coolio::VERSION >= '1.0.0' or abort 'cool.io >= 1.0.0 is required'
-rescue LoadError
-  require 'rev'
-  Rev::VERSION >= '0.3.0' or abort 'rev >= 0.3.0 is required'
-end
-require 'rev' if defined?(Coolio)
-
+require 'rainbows/coolio_support'
 # Coolio is the new version of this, use that instead.
 #
 # Implements a basic single-threaded event model with