Fix KCODE warning on 1.9

This commit is contained in:
bootstraponline
2012-11-30 23:26:43 -07:00
parent 610925bc5a
commit b81aa923d6
+1 -2
View File
@@ -24,9 +24,8 @@ require File.expand_path('../gollum/web_sequence_diagram', __FILE__)
require File.expand_path('../gollum/frontend/uri_encode_component', __FILE__)
# Set ruby to UTF-8 mode
# Do not remove because of warning.
# This is required for Ruby 1.8.7 which gollum still supports.
$KCODE = 'U'
$KCODE = 'U' if RUBY_VERSION[2,1] == '8'
module Gollum
VERSION = '2.4.4'