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|