public
Description: ruby binding to maxmind geoip library
Homepage: http://geoip-city.rubyforge.org
Clone URL: git://github.com/ry/geoip-city.git
Search Repo:
fix install script
Ryan Dahl (author)
Tue Mar 04 15:10:33 -0800 2008
commit  45255461f65d5980a7f3fb5886dadff4a667ea7c
tree    5101c34d7d74b14251132742d5c5f63bea0c06fc
parent  94e8ce6f3da3a23f2a9e35102e7e797276b7e54c
...
4
5
6
 
 
7
...
4
5
6
7
8
9
0
@@ -4,5 +4,7 @@
0
 
0
 if have_library('GeoIP', 'GeoIP_record_by_ipnum') and have_header('GeoIPCity.h')
0
   create_makefile('geoip_city')
0
+else
0
+ abort("you must have geoip c library installed!")
0
 end
...
1
 
2
3
4
5
6
...
1
2
3
 
4
5
6
0
@@ -1,6 +1,6 @@
0
 require 'test/unit'
0
+require File.dirname(__FILE__) + '/geoip_city'
0
 require 'rubygems'
0
-require 'geoip_city'
0
 require 'ruby-debug'
0
 Debugger.start
0
 

Comments

    No one has commented yet.