lib/rack/geo_locale.rb in rack-geo-locale-0.0.3 vs lib/rack/geo_locale.rb in rack-geo-locale-0.0.4

- old
+ new

@@ -22,9 +22,11 @@ if remote_addr = env["REMOTE_ADDR"] result = geoip.country(remote_addr).country_code2 return result if result != "--" end + else + puts "WARNING: Didn't find geoip database." end nil end