Geocoder-geoip_local is a project mainly written in Ruby, it's free.
A Geocoder lookup implementation for a local GeoIP Database.
404: Not Found