From 2d6b30ee5704b349d2e8b4778427fc022e7cbb5a Mon Sep 17 00:00:00 2001 From: nahi Date: Wed, 29 Oct 2003 13:06:12 +0000 Subject: [PATCH] * test/drb/drbtest.rb: use rbconfig.rb to make the path of ruby interpreter to exec, instead of test/ruby/envutil.rb, git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/drb/drbtest.rb | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 33a0508837..0dca96ccb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 29 22:02:04 2003 NAKAMURA, Hiroshi + + * test/drb/drbtest.rb: use rbconfig.rb to make the path of ruby + interpreter to exec, instead of test/ruby/envutil.rb, + Wed Oct 29 19:58:59 2003 NAKAMURA Usaku * ext/tcltklib/tcltklib.c (CONST84): define CONST84 when it is not diff --git a/test/drb/drbtest.rb b/test/drb/drbtest.rb index 128acf7f37..ed952b5751 100644 --- a/test/drb/drbtest.rb +++ b/test/drb/drbtest.rb @@ -2,12 +2,15 @@ require 'test/unit' require 'drb/drb' require 'drb/extservm' require 'timeout' -$:.unshift(File.expand_path("../../ruby", __FILE__)) -require 'envutil' +require 'rbconfig' class DRbService @@manager = DRb::ExtServManager.new - @@ruby = EnvUtil.rubybin + @@ruby = File.join( + Config::CONFIG["bindir"], + Config::CONFIG["ruby_install_name"] + Config::CONFIG["EXEEXT"] + ) + @@ruby += " -d" if $DEBUG @@dir = File.dirname(File.expand_path(__FILE__)) %w(ut_drb.rb ut_array.rb ut_port.rb ut_large.rb ut_safe1.rb ut_eval.rb).each do |nm|