diff options
author | murphy <murphy@rubychan.de> | 2011-07-08 09:25:18 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2011-07-08 09:25:18 +0000 |
commit | d338e1b2eceb2dc16474f091263ae9f82f1605db (patch) | |
tree | 61405e842b06b8a0207d3c6c30b1924b18f1f9ca | |
parent | f62f4824b8f92e837989bfad702ac8222945f187 (diff) | |
download | coderay-d338e1b2eceb2dc16474f091263ae9f82f1605db.tar.gz |
hardcode ruby command to "ruby" (detection was buggy)
-rw-r--r-- | test/executable/suite.rb | 3 |
1 files changed, 1 insertions, 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' |