From: Michel Demazure Date: 2010-10-13T19:25:00+09:00 Subject: Help with require in 1.9.2 p0 I have this strange bug with a chain of requires, after a certain number of hops. It is independant of the file to require. Even in the following case with the same file twice 6 require 'slot.rb' 7 puts "yes" 8 require 'slot.rb' the first require works, "yes" is printed, and the second require to the *same* file bugs : :29:in `require': can't convert nil into String (TypeError) yes from :29:in `require' from F:/dev/ruby/Capucine/lib/processor.rb:8:in `' from :29:in `require' from :29:in `require' from F:/dev/ruby/Capucine/lib/manager.rb:6:in `' from :29:in `require' from :29:in `require' from F:/dev/ruby/Capucine/lib/main.rb:10:in `
' This bug appears also with another chain (using rspec), this time refusing files which are correctly loaded in the previous case. Maybe this is for ruby-core, but I have no access to it. _md -- Posted via http://www.ruby-forum.com/.