On Mon, Nov 3, 2008 at 3:42 PM, Nit Khair <sentinel.2001 / gmx.com> wrote: > Sean O'halpin wrote: > >> >> Yes - the FFI interface is really easy to use. You just need to >> specify which lib you are referencing with the #ffi_lib method. >> >> require 'rubygems' >> require 'ffi' >> >> module NCursesFFI >> extend FFI::Library > > Seem to be other dependencies other than the gem (which installed fine). > Does it expect Jruby or rubinius ? I get: > >>NameError: uninitialized constant FFI::Platform::ARCH_ > > Or maybe it does not work on OS X yet. > -- I'm running on Ubuntu 8.10: $ ruby -v ruby 1.8.6 (2007-09-23 patchlevel 110) [i686-linux] Regards, Sean