diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-29 13:06:12 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-29 13:06:12 +0000 |
commit | 2d6b30ee5704b349d2e8b4778427fc022e7cbb5a (patch) | |
tree | 32e846526a2406aec19b8effde7671086a79f58c /test/drb | |
parent | ef7845ad248cb704b8af45d9534e67f6b8e44980 (diff) | |
download | ruby-2d6b30ee5704b349d2e8b4778427fc022e7cbb5a.tar.gz |
* 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
Diffstat (limited to 'test/drb')
-rw-r--r-- | test/drb/drbtest.rb | 9 |
1 files changed, 6 insertions, 3 deletions
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| |