From: Sora Harakami Date: 2010-06-13T18:41:25+09:00 Subject: Re: nokogiri error on snow leopard Sorry for I missed that post. hmm.... I think bad is "universal binary". build ruby yourself to quickly make happy. :D -- Sora Harakami (iPad) - @sora_h Blog: http://codnote.net Prof: http://sorah.cosmio.net On Jun 13, 2010, at 4:58 PM, Ryan Davis wrote: > > On Jun 12, 2010, at 21:34 , Sora Harakami wrote: > >> 'No suitable image found' error occurs if arch different between ruby >> and library. >> >> And snow leopard builds 64bit in default. but snow leopard's ruby is >> built in 32bit. >> >> so i think build ruby yourself and reinstall gems. > > again... stock ruby would have saved you pain: > >> 502 % file $(type ruby) >> /usr/bin/ruby: Mach-O universal binary with 3 architectures >> /usr/bin/ruby (for architecture x86_64): Mach-O 64-bit executable x86_64 >> /usr/bin/ruby (for architecture i386): Mach-O executable i386 >> /usr/bin/ruby (for architecture ppc7400): Mach-O executable ppc > > >