From: Ryan Davis Date: 2010-06-13T16:58:16+09:00 Subject: Re: nokogiri error on snow leopard 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