From: "Aleksi Niemelä" Date: 2000-09-15T05:28:45+09:00 Subject: [ruby-talk:4922] Re: Threaded requiring raises exception Dave claims: > It works for me using 1.6 under Linux. I'm sorry I managed to mess previous mail, but I hope it becames now a little bit clearer. I updated ruby on this machine too, and it's some quite new RedHat Linux. Of course we could have some deviation here per machine, but this "bug" is systematic on this machine and crashes on every run. I can check it again back home on my Linux too. This script is run in the end. Thread.abort_on_exception=true order = ARGV.shift.to_i if order == 0 require "net/http" 2.times do Thread.start do http=Net::HTTP.new end end else 2.times do Thread.start do require "net/http" http=Net::HTTP.new end end end [niemela@mercury ruby-tools]$ ruby -v ruby 1.6.0 (2000-09-12) [i686-linux] [niemela@mercury ruby-tools]$ ruby require_bug.rb 0 [niemela@mercury ruby-tools]$ ruby require_bug.rb 1 require_bug.rb:17: uninitialized constant Net (NameError) from require_bug.rb:15:in `start' from require_bug.rb:15 from require_bug.rb:14:in `times' from require_bug.rb:14 - Aleksi