From d338e1b2eceb2dc16474f091263ae9f82f1605db Mon Sep 17 00:00:00 2001 From: murphy Date: Fri, 8 Jul 2011 09:25:18 +0000 Subject: hardcode ruby command to "ruby" (detection was buggy) --- test/executable/suite.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/executable/suite.rb b/test/executable/suite.rb index db96f77..ec696ec 100644 --- a/test/executable/suite.rb +++ b/test/executable/suite.rb @@ -10,8 +10,7 @@ puts "Running CodeRay #{CodeRay::VERSION} executable tests..." class TestCodeRayExecutable < Test::Unit::TestCase - ruby = `ps -c #$$`[/\w+\Z/] - ruby = 'ruby' if ruby == 'java' + ruby = 'ruby' ROOT_DIR = Pathname.new(File.dirname(__FILE__)) + '..' + '..' EXECUTABLE = ROOT_DIR + 'bin' + 'coderay' -- cgit v1.2.1