From 4c4dc5398a3f525bfe3ed8de5e221dd9ec43f833 Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Mon, 10 Dec 2012 18:41:01 -0700 Subject: [PATCH] Update 1.8 check --- lib/gollum.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gollum.rb b/lib/gollum.rb index 954d50f3..b71bf33f 100644 --- a/lib/gollum.rb +++ b/lib/gollum.rb @@ -25,7 +25,7 @@ require File.expand_path('../gollum/frontend/uri_encode_component', __FILE__) # Set ruby to UTF-8 mode # This is required for Ruby 1.8.7 which gollum still supports. -$KCODE = 'U' if RUBY_VERSION[2,1] == '8' +$KCODE = 'U' if RUBY_VERSION[0,3] == '1.8' module Gollum VERSION = '2.4.5'