Hi,

At Sat, 15 Jul 2006 15:54:00 +0900,
Tanaka Akira wrote in [ruby-core:08233]:
> > The following code gives .../lib/ruby/1.8/open-uri.rb:215:in `open_http': uninitialized constant Net::HTTP (NameError) :
> 
> It seems a problem of "require".

Indeed.


Index: eval.c =================================================================== RCS file: /cvs/ruby/src/ruby/eval.c,v retrieving revision 1.616.2.180 diff -p -U 2 -r1.616.2.180 eval.c --- eval.c 13 Jul 2006 15:42:46 -0000 1.616.2.180 +++ eval.c 15 Jul 2006 13:05:32 -0000 @@ -7143,5 +7143,4 @@ rb_require_safe(fname, safe) else { ruby_safe_level = 0; - rb_provide_feature(feature); switch (found) { case 'r': @@ -7166,4 +7165,5 @@ rb_require_safe(fname, safe) break; } + rb_provide_feature(feature); result = Qtrue; }
-- Nobu Nakada