Project

General

Profile

Actions

Bug #13989

closed

WEBrick testing, circular requires

Bug #13989: WEBrick testing, circular requires

Added by MSP-Greg (Greg L) about 8 years ago. Updated about 8 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-10-08 trunk 60140) [x64-mingw32]
[ruby-core:83177]

Description

Lately I've been bouncing around, trying to help with windows/MinGW builds of extension gems.

Today, after loading my current build, I ran a few command line tests. The following seems to have some issues with circular requires -

>ruby -v --disable-gems runner.rb -I. --show-skip webrick

ruby 2.5.0dev (2017-10-08 trunk 60140) [x64-mingw32]

C:/ruby25_64/lib/ruby/2.5.0/webrick/config.rb:15: warning: loading in progress, circular require considered harmful - E:/GitHub/ruby/test/webrick/utils.rb
C:/ruby25_64/lib/ruby/2.5.0/webrick.rb:215: warning: loading in progress, circular require considered harmful - E:/GitHub/ruby/test/webrick/utils.rb

I glanced over the WEBrick files, and decided that it'd be best for someone more familiar with it to have a look (I use thin locally)...

Note - C:/ruby25_64 is my build folder, E:/GitHub/ruby is my repo folder.

Updated by MSP-Greg (Greg L) about 8 years ago Actions #1 [ruby-core:83178]

Sorry, my mistake, confusing test libraries --

ruby -v --disable-gems runner.rb -I. --show-skip webrick

should be

ruby -v --disable-gems runner.rb -I./lib --show-skip webrick

Please close. Thanks again.

Updated by hsbt (Hiroshi SHIBATA) about 8 years ago Actions #2

  • Status changed from Open to Rejected
Actions

Also available in: PDF Atom