Search code examples
ruby-on-railsruby-on-rails-3.1geolocationgeoip

what maxmind geoip ruby wrapper is up2date and usable? ( for the commercial library )


Im trying to get below github repo in my app

https://github.com/mtodd/geoip

Ive tried adding it like

gem "geoip", :git => "git://github.com/mtodd/geoip.git"

Error =

Could not find gem 'geoip (>= 0) ruby' in git://github.com/mtodd/geoip.git (at master).
Source does not contain any versions of 'geoip (>= 0) ruby'

Is there are ruby gem wrapper for GeoIP that is compatible with the LATEST GEOIP? Ive searched very long for one, the one above seems to be sort off compatible with 1.4.7 and higher but I can't get it installed, any other suggestion? Thx !


Solution

  • I have this in my Gemfile:

    gem "geoip-c", '~> 0.7.1', :git => "git://github.com/mtodd/geoip.git"
    

    As far as I know, it's totally compatible.