Check Ruby version before setting

master
Alex Dunae 2010-11-12 14:30:17 -08:00
parent f7749920f8
commit 912292b087
1 changed files with 1 additions and 1 deletions

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'