From 9c4c608cceee1b698b59a78f67e322262e8fceed Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 4 Jul 2014 20:10:37 +0200 Subject: [PATCH] Skip 1.9 monkeypatches on ruby 2.0 and later --- bin/rbot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rbot b/bin/rbot index 410a2746..c4ff6ea3 100755 --- a/bin/rbot +++ b/bin/rbot @@ -95,7 +95,7 @@ begin unless RUBY_VERSION < '1.9' Encoding.default_internal = Encoding::UTF_8 Encoding.default_external = Encoding::UTF_8 - require 'rbot/compat19' + require 'rbot/compat19' if RUBY_VERSION < '2.0' end require 'rbot/ircbot' -- 2.32.0.93.g670b81a890