GirFFI creates bindings for GObject-based libraries at runtime based on introspection data provided by the GObject Introspection Repository (GIR) system. Bindings are created at runtime and use FFI to interface with the C libraries. In cases where the GIR does not provide enough or correct information to create sane bindings, overrides may be created.
Gemfile gem 'gir_ffi', '~> 0.7.7'
install gem install gir_ffi