Anybody can help me , I have googled and spend the last two night
searching forum for the magic terminal sentence that will build a 32 bit
version of Ruby 1.92 on Snow Leopard.
I need it because “Bowline” ( an application that build stand alone
executable from ruby/Javascript/CSS)
only work with Ruby 1.9 32 bit.
On Jun 18, 2010, at 7:56 , Jean-eric Godard wrote:
Hello,
Anybody can help me , I have googled and spend the last two night
searching forum for the magic terminal sentence that will build a 32 bit
version of Ruby 1.92 on Snow Leopard.
The magic incantation you need is something like
ARCHFLAGS="-arch i386"
It’s not quite that simple, but I don’t remember what exactly I had to
do to make it work. Google should be able to tell you how to apply it to
the compile now that you know what command you want.
You can test the result to see if it built it the way you wanted or not
by finding one of the binary files that comes from the compile, and
using the ‘file’ command:
Well, that’s not good. The version of Ruby that came with SnowLeopard
has THREE architectures in it: PowerPC, 32-bit Intel, and 64-bit Intel.
Now, how the heck did a two-architecture version get in my /usr/bin
folder? Well, anyway, hopefully that’ll help you compile a 32-bit
version of 1.9.2
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.