Check Ruby version before setting

This commit is contained in:
Alex Dunae 2010-11-12 14:30:17 -08:00
parent f7749920f8
commit 912292b087

View file

@ -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'