heidistein / rpms / ruby

Forked from rpms/ruby 5 years ago
Clone
117278a
diff --git a/test/webrick/test_cgi.rb b/test/webrick/test_cgi.rb
117278a
index 1185316..0ef1b37 100644
117278a
--- a/test/webrick/test_cgi.rb
117278a
+++ b/test/webrick/test_cgi.rb
117278a
@@ -14,6 +14,7 @@ class TestWEBrickCGI < Test::Unit::TestCase
117278a
         def req.meta_vars
117278a
           meta = super
117278a
           meta["RUBYLIB"] = $:.join(File::PATH_SEPARATOR)
117278a
+          meta[RbConfig::CONFIG['LIBPATHENV']] = ENV[RbConfig::CONFIG['LIBPATHENV']]
117278a
           return meta
117278a
         end
117278a
       },
117278a
diff --git a/test/webrick/test_filehandler.rb b/test/webrick/test_filehandler.rb
117278a
index bcdb3df..f78ba5c 100644
117278a
--- a/test/webrick/test_filehandler.rb
117278a
+++ b/test/webrick/test_filehandler.rb
117278a
@@ -252,6 +252,7 @@ class WEBrick::TestFileHandler < Test::Unit::TestCase
117278a
         def req.meta_vars
117278a
           meta = super
117278a
           meta["RUBYLIB"] = $:.join(File::PATH_SEPARATOR)
117278a
+          meta[RbConfig::CONFIG['LIBPATHENV']] = ENV[RbConfig::CONFIG['LIBPATHENV']]
117278a
           return meta
117278a
         end
117278a
       },