Actions
Bug #13989
closedWEBrick testing, circular requires
    Bug #13989:
    WEBrick testing, circular requires
  
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-10-08 trunk 60140) [x64-mingw32]
Backport:
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
          Updated by MSP-Greg (Greg L) about 8 years ago
          
          
        
        
      
      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
          Updated by hsbt (Hiroshi SHIBATA) about 8 years ago
          
          
        
        
      
      - Status changed from Open to Rejected
Actions