mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/webrick/test_cgi.rb: should support platforms which search
library path from the interpreter's path. And, support test without install incidentally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
145b7e1b8b
commit
bea93efc42
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Feb 22 16:24:05 2006 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/webrick/test_cgi.rb: should support platforms which search
|
||||
library path from the interpreter's path.
|
||||
And, support test without install incidentally.
|
||||
|
||||
Wed Feb 22 14:21:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* bignum.c (bignorm): x may not be a bignum. [ruby-dev:28367]
|
||||
|
|
|
@ -17,6 +17,13 @@ class TestWEBrickCGI < Test::Unit::TestCase
|
|||
:CGIInterpreter => EnvUtil.rubybin,
|
||||
:DocumentRoot => File.dirname(__FILE__),
|
||||
:DirectoryIndex => ["webrick.cgi"],
|
||||
:RequestHandler => Proc.new{|req, res|
|
||||
def req.meta_vars
|
||||
meta = super
|
||||
meta["RUBYLIB"] = $:.join(File::PATH_SEPARATOR)
|
||||
return meta
|
||||
end
|
||||
},
|
||||
}
|
||||
if RUBY_PLATFORM =~ /mswin32|mingw|cygwin|bccwin32/
|
||||
config[:CGIPathEnv] = ENV['PATH'] # runtime dll may not be in system dir.
|
||||
|
|
Loading…
Reference in a new issue