GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
After a simple workaround for #2064 (see the following gist).
My assumption is that the problematic combo is:
typedef :pointer, :libusb_device_handle
attach_function 'libusb_set_configuration', [:libusb_device_handle, :int], :int, :blocking=>true
We now bundle a 1.2.0 version of the FFI gem, however, there is a bug in RVM that omits the pre-installed gems. So if using RVM, use the recently released 1.3.0 FFI gem which builds correctly on Rubinius.
Please report to the FFI project https://github.com/ffi/ffi/issues if this is still an issue when using the FFI gem.