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