diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-22 23:41:56 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-22 23:41:56 +0200 |
commit | 366a02754ca0a2d4ffeb06eeddc8733cea57643e (patch) | |
tree | 764013259c4c169156d1cf6afe3d0cd273bea2ad | |
parent | fc21c91d7a89d98785e494ffd41e9f3adbdfed81 (diff) | |
download | coderay-366a02754ca0a2d4ffeb06eeddc8733cea57643e.tar.gz |
remove Ruby 2.0 workaround
-rw-r--r-- | test/executable/suite.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/executable/suite.rb b/test/executable/suite.rb index d386f4b..997405c 100644 --- a/test/executable/suite.rb +++ b/test/executable/suite.rb @@ -14,7 +14,7 @@ class TestCodeRayExecutable < Test::Unit::TestCase ROOT_DIR = Pathname.new(File.dirname(__FILE__)) + '..' + '..' EXECUTABLE = ROOT_DIR + 'bin' + 'coderay' - RUBY_COMMAND = RUBY_VERSION < '2.0.0' ? 'ruby -w' : 'ruby' # Ruby 2 currently throws warnings for bundler + RUBY_COMMAND = 'ruby' EXE_COMMAND = if RUBY_PLATFORM === 'java' && `ruby --ng -e '' 2> /dev/null` && $?.success? # use Nailgun |