Check Ruby version before setting
parent
f7749920f8
commit
912292b087
|
@ -1,6 +1,6 @@
|
||||||
$:.unshift(File.expand_path(File.dirname(__FILE__) + '../../lib/'))
|
$:.unshift(File.expand_path(File.dirname(__FILE__) + '../../lib/'))
|
||||||
|
|
||||||
$KCODE = 'u'
|
$KCODE = 'u' if RUBY_VERSION =~ /^1\.8/
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
|
|
Loading…
Reference in New Issue