Bugs item #1271, was opened at 2005-01-04 21:03
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1271&group_id=426

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ville Mattila (mulperi)
Assigned to: Nobody (None)
Summary: irb does not work with the latest 1.8 CVS ruby

Initial Comment:
irb
/sb/tb/toolbox3/sparc-sun-solaris2.5.1/lib/ruby/1.8/irb/locale.rb:13:in `autoload': wrong argument type false (expected Class) (TypeError)
        from /sb/tb/toolbox3/sparc-sun-solaris2.5.1/lib/ruby/1.8/irb/locale.rb:13
        from /sb/tb/toolbox3/sparc-sun-solaris2.5.1/lib/ruby/1.8/irb.rb:21:in `require'
        from /sb/tb/toolbox3/sparc-sun-solaris2.5.1/lib/ruby/1.8/irb.rb:21
        from /common/toolbox3/sparc-sun-solaris2.5.1/bin/irb:10:in `require'
        from /common/toolbox3/sparc-sun-solaris2.5.1/bin/irb:10

>    ruby -v
ruby 1.8.2 (2005-01-05) [sparc-solaris2.8]

reverting recent change to variable.c fixes this i.e.
using the patch
 cat var.patch 
Index: variable.c
===================================================================
RCS file: /src/ruby/variable.c,v
retrieving revision 1.108.2.5
retrieving revision 1.108.2.4
diff -u -s -p -r1.108.2.5 -r1.108.2.4
--- variable.c  31 Dec 2004 16:15:02 -0000      1.108.2.5
+++ variable.c  2 Oct 2004 03:50:48 -0000       1.108.2.4
@@ -3,7 +3,7 @@
   variable.c -
 
   $Author: matz $
-  $Date: 2004/12/31 16:15:02 $
+  $Date: 2004/10/02 03:50:48 $
   created at: Tue Apr 19 23:55:15 JST 1994
 
   Copyright (C) 1993-2003 Yukihiro Matsumoto
@@ -1289,7 +1289,7 @@ rb_autoload(mod, id, file)
        tbl = check_autoload_table(av);
     }
     else {
-       av = Data_Wrap_Struct(0, rb_mark_tbl, st_free_table, 0);
+       av = Data_Wrap_Struct(rb_cData, rb_mark_tbl, st_free_table, 0);
        st_add_direct(tbl, autoload, av);
        DATA_PTR(av) = tbl = st_init_numtable();
     }
 


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1271&group_id=426