ffi-geoip is an implementation of the GeoIP Ruby bindings in Ruby via FFI.