From: Matt Mencel Date: 2010-08-11T23:12:44+09:00 Subject: Re: Error: Bignum too big to convert into `long' Solaris 10 SPARC is 64bit. It may be the ruby version I have installed was compiled for 32bit? It's an older version of 1.8.7 off of sunfreeware.com. I noticed that sunfreeware has a newer 1.9.1 version available there now so I think I'll upgrade ruby to 1.9.1 and see what happens. Thanks, Matt ----- Original Message ----- From: "botp" To: "ruby-talk ML" Sent: Tuesday, August 10, 2010 9:18:30 PM Subject: Re: Error: Bignum too big to convert into `long' On Tue, Aug 10, 2010 at 10:51 PM, Matt Mencel wrote: > Another reason for me to dislike Solaris SPARC. you may let ruby do the work for you :) try ruby 1.9 eg, $ ruby -ve 'puts("#{(-1.size==4?32:64)}bit", Time.at(4102380000))' ruby 1.9.2dev (2010-07-11 revision 28618) [i686-linux] 32bit 2099-12-31 14:00:00 +0800 best regards -botp