From: nobu.nokada@... Date: 2003-06-28T20:47:08+09:00 Subject: Re: Array#pack problem on OS X Hi, At Sat, 28 Jun 2003 20:30:24 +0900, Barry Shultz wrote: > > > ruby 1.6.7 (2002-03-01) [powerpc-darwin6.0] > > > irb(main):002:0> [65].pack('v') > > > "\000A" > > > >It's obviously strange. Is there a line contains > >WORD_BIGENDIAN in config.h? > > I'm using the compiled version of Ruby that came with OS X; I don't have a > config.h file. I've heard that there is a package for development, which contains the file. > As soon as I can, I will compile Ruby 1.7.x on it, but I wanted to make sure 1.7 is already outdated, you'd better to try with 1.8.0 latest snapshot. -- Nobu Nakada