diff options
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| |