Nit Khair wrote:
> Nit Khair wrote:
> 
>>> NameError: uninitialized constant FFI::Platform::ARCH_
>> Or maybe it does not work on OS X yet.
> 
> It supports "darwin", but not the "powerpc" cpu.

Probably just some missing build flags; libffi, on which it's based, 
does support Darwin on PPC.

Jump on Ruby-FFI lists if you think you can help debug and get it working:

http://kenai.com/projects/ruby-ffi

- Charlie