Fix KCODE warning on 1.9
This commit is contained in:
+1
-2
@@ -24,9 +24,8 @@ require File.expand_path('../gollum/web_sequence_diagram', __FILE__)
|
|||||||
require File.expand_path('../gollum/frontend/uri_encode_component', __FILE__)
|
require File.expand_path('../gollum/frontend/uri_encode_component', __FILE__)
|
||||||
|
|
||||||
# Set ruby to UTF-8 mode
|
# Set ruby to UTF-8 mode
|
||||||
# Do not remove because of warning.
|
|
||||||
# This is required for Ruby 1.8.7 which gollum still supports.
|
# This is required for Ruby 1.8.7 which gollum still supports.
|
||||||
$KCODE = 'U'
|
$KCODE = 'U' if RUBY_VERSION[2,1] == '8'
|
||||||
|
|
||||||
module Gollum
|
module Gollum
|
||||||
VERSION = '2.4.4'
|
VERSION = '2.4.4'
|
||||||
|
|||||||
Reference in New Issue
Block a user