At Tue, 20 Mar 2001 04:51:40 +0900,
Ray Schneider wrote:
> Everytime I hit a link on the applications archive on ruby-lang.org I get
> the following error?
> 
> /usr/local/lib/ruby/1.6/pstore.rb:97:in `load': long too big for this architecture (size 4, given 6) (TypeError)
>         from /usr/local/lib/ruby/1.6/pstore.rb:97:in `transaction'
>         from /tmp/raa-list.rhtml.GMkfsG:38
> 
> just thought I should let someone know..Sorry if this information has already
> been passed.

Just fixed.  The error was caused because of the discrepancy of the
marshalled file formats.  One of the WWW staffs had modified the RAA
database file with Ruby 1.7 (2001-03-19), but the modified file could
not be read from Ruby 1.6.2 (2000-11-17)...

I Marshal::load'ed the file with ruby17 and output the object using p,
fixing the output to be able to eval with ruby16 then let ruby16
evaluate and Marshal::dump it.


Now, there must be a bug in either 1.6.2 or 1.7, because their marshal
formats are supposed to be compatible. (Both version 4.5)

Matz-san, would you investigate this?  Look into /var/lib/www-data/:
raa.16 is the one made with /usr/local/bin/ruby16 (2000-11-17), and
raa.17 is the one made with /home/nahi/bin/ruby17 (2001-03-19).

Judging from the hexdump output, the former is version 4.1 and the
latter is version 4.5.  And if you try to Marshal::load the latter with
ruby16, you can see the error Ray reported.

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"We're only at home when we're on the run, on the wing, on the fly"