aboutsummaryrefslogtreecommitdiffstats
path: root/test/webrick
diff options
context:
space:
mode:
Diffstat (limited to 'test/webrick')
-rw-r--r--test/webrick/utils.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/webrick/utils.rb b/test/webrick/utils.rb
index 82df9cde69..ebc936cb2c 100644
--- a/test/webrick/utils.rb
+++ b/test/webrick/utils.rb
@@ -1,10 +1,4 @@
-begin
- loadpath = $:.dup
- $:.replace($: | [File.expand_path("../ruby", File.dirname(__FILE__))])
- require 'envutil'
-ensure
- $:.replace(loadpath)
-end
+require_relative '../ruby/envutil'
require "webrick"
begin
require "webrick/https"