ip_to_country 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- IpToCountry [![Build Status](https://travis-ci.org/vincent-pochet/ip_to_country.png?branch=master)](https://travis-ci.org/vincent-pochet/ip_to_country) [![Dependency Status](https://gemnasium.com/vincent-pochet/ip_to_country.png)](https://gemnasium.com/vincent-pochet/ip_to_country) [![Code Climate](https://codeclimate.com/github/vincent-pochet/ip_to_country.png)](https://codeclimate.com/github/vincent-pochet/ip_to_country) [![Coverage Status](https://coveralls.io/repos/vincent-pochet/ip_to_country/badge.png?branch=master)](https://coveralls.io/r/vincent-pochet/ip_to_country)
1
+ IpToCountry [![Gem Version](https://badge.fury.io/rb/ip_to_country.png)](http://badge.fury.io/rb/ip_to_country) [![Build Status](https://travis-ci.org/vincent-pochet/ip_to_country.png?branch=master)](https://travis-ci.org/vincent-pochet/ip_to_country) [![Dependency Status](https://gemnasium.com/vincent-pochet/ip_to_country.png)](https://gemnasium.com/vincent-pochet/ip_to_country) [![Code Climate](https://codeclimate.com/github/vincent-pochet/ip_to_country.png)](https://codeclimate.com/github/vincent-pochet/ip_to_country) [![Coverage Status](https://coveralls.io/repos/vincent-pochet/ip_to_country/badge.png?branch=master)](https://coveralls.io/r/vincent-pochet/ip_to_country)
2
2
  =====
3
3
 
4
4
  Description and documentation comming soon
@@ -1,5 +1,6 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  require "ip_to_country/engine"
3
+ require "ip_to_country/loader"
3
4
 
4
5
  module IpToCountry
5
6
  end
@@ -0,0 +1,69 @@
1
+ # -*- encoding : utf-8 -*-
2
+
3
+ module IpToCountry
4
+ module Loader
5
+
6
+ #################
7
+ ### Constants ###
8
+ #################
9
+
10
+ ARCHIVE_SOURCE = 'http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip'.freeze
11
+ ARCHIVE_NAME = 'GeoIPCountryCSV.zip'.freeze
12
+ EXTRACTED_IP_FILE = '/tmp/GeoIPCountryWhois.csv'.freeze
13
+
14
+ #####################
15
+ ### Class methods ###
16
+ #####################
17
+
18
+ def self.populate!
19
+ download_and_unzip_ips
20
+ create_tempo_table
21
+ load_csv_in_tempo_table
22
+ rename_tempo_into_geoip
23
+ clean_tmp_files
24
+ end
25
+
26
+ def self.download_and_unzip_ips
27
+ system("wget -N #{ARCHIVE_SOURCE}")
28
+ FileUtils.mv(ARCHIVE_NAME, "/tmp")
29
+ system("unzip -j /tmp/#{ARCHIVE_NAME} -d /tmp")
30
+ end
31
+
32
+ # Create a tempo geoips table to load ips.
33
+ def self.create_tempo_table
34
+ sql = <<-__SQL__
35
+ DROP TABLE IF EXISTS geoips_tempo;
36
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
37
+ __SQL__
38
+ ActiveRecord::Base.connection.execute(sql)
39
+ end
40
+
41
+ # Load IPs and countries matching from a CSV file.
42
+ def self.load_csv_in_tempo_table
43
+ raw = ActiveRecord::Base.connection.raw_connection
44
+ raw.exec("COPY geoips_tempo FROM STDIN WITH(FORMAT CSV)")
45
+ File.open(EXTRACTED_IP_FILE).each do |line|
46
+ raw.put_copy_data line
47
+ end
48
+ raw.put_copy_end
49
+ while res = raw.get_result do; end # very important to do this after a copy
50
+ ActiveRecord::Base.connection_pool.checkin(ActiveRecord::Base.connection)
51
+ end
52
+
53
+ def self.rename_tempo_into_geoip
54
+ sql = <<-__SQL__
55
+ ALTER TABLE geoips RENAME TO tmp;
56
+ ALTER TABLE geoips_tempo RENAME TO geoips;
57
+ ALTER TABLE tmp RENAME TO geoips_tempo;
58
+ DROP TABLE geoips_tempo;
59
+ __SQL__
60
+ ActiveRecord::Base.connection.execute(sql)
61
+ end
62
+
63
+ def self.clean_tmp_files
64
+ FileUtils.rm(EXTRACTED_IP_FILE)
65
+ FileUtils.rm("/tmp/#{ARCHIVE_NAME}")
66
+ end
67
+
68
+ end
69
+ end
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module IpToCountry
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
@@ -0,0 +1,10 @@
1
+ # -*- encoding : utf-8 -*-
2
+
3
+ namespace :ip_to_country do
4
+
5
+ desc "Populate geoips table from external source"
6
+ task populate: :environment do
7
+ IpToCountry::Loader::populate!
8
+ end
9
+
10
+ end
@@ -320,3 +320,2808 @@ Unable to load geoip, underlying cause No such file to load -- geoip
320
320
   (0.1ms) ROLLBACK
321
321
   (0.1ms) BEGIN
322
322
   (0.2ms) ROLLBACK
323
+ Connecting to database specified by database.yml
324
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
325
+ Migrating to CreateGeoips (1)
326
+ Unable to load geoip, underlying cause No such file to load -- geoip
327
+
328
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
329
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
330
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
331
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
332
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
333
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
334
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
335
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
336
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:26:in `<class:TestCase>'
337
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:23:in `<top (required)>'
338
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
339
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
340
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
341
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
342
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
343
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
344
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
345
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
346
+  (1.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
347
+  (0.1ms) BEGIN
348
+ Fixture Delete (21.9ms) DELETE FROM "geoips"
349
+ Fixture Insert (0.6ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
350
+  (64.8ms) COMMIT
351
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
352
+  (0.1ms) BEGIN
353
+ IpToCountry::Geoip Load (1.3ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
354
+ from geoips where ip_to >= 3232235778)) LIMIT 1
355
+  (0.2ms) ROLLBACK
356
+  (0.1ms) BEGIN
357
+  (0.1ms) ROLLBACK
358
+  (0.1ms) BEGIN
359
+  (0.1ms) ROLLBACK
360
+  (0.1ms) BEGIN
361
+  (0.1ms) ROLLBACK
362
+ Connecting to database specified by database.yml
363
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
364
+ Migrating to CreateGeoips (1)
365
+ Unable to load geoip, underlying cause No such file to load -- geoip
366
+
367
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
368
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
369
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
370
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
371
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
372
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
373
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
374
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
375
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
376
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
377
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
378
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
379
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
380
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
381
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
382
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
383
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
384
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
385
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
386
+  (0.2ms) BEGIN
387
+ Fixture Delete (0.7ms) DELETE FROM "geoips"
388
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
389
+  (23.8ms) COMMIT
390
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
391
+  (0.1ms) BEGIN
392
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
393
+ from geoips where ip_to >= 3232235778)) LIMIT 1
394
+  (0.2ms) ROLLBACK
395
+  (0.1ms) BEGIN
396
+  (0.1ms) ROLLBACK
397
+  (0.1ms) BEGIN
398
+  (0.1ms) ROLLBACK
399
+  (0.1ms) BEGIN
400
+  (0.1ms) ROLLBACK
401
+ Connecting to database specified by database.yml
402
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
403
+ Migrating to CreateGeoips (1)
404
+ Unable to load geoip, underlying cause No such file to load -- geoip
405
+
406
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
407
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
408
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
409
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
410
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
411
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
412
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
413
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
414
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
415
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
416
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
417
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
418
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
419
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
420
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
421
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
422
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
423
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
424
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
425
+  (0.1ms) BEGIN
426
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
427
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
428
+  (25.1ms) COMMIT
429
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
430
+  (0.1ms) BEGIN
431
+ IpToCountry::Geoip Load (1.0ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
432
+ from geoips where ip_to >= 3232235778)) LIMIT 1
433
+  (0.2ms) ROLLBACK
434
+  (0.1ms) BEGIN
435
+  (0.1ms) ROLLBACK
436
+  (0.1ms) BEGIN
437
+  (0.1ms) ROLLBACK
438
+  (0.1ms) BEGIN
439
+  (0.1ms) ROLLBACK
440
+  (0.1ms) BEGIN
441
+  (0.1ms) ROLLBACK
442
+ Connecting to database specified by database.yml
443
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
444
+ Migrating to CreateGeoips (1)
445
+ Unable to load geoip, underlying cause No such file to load -- geoip
446
+
447
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
448
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
449
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
450
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
451
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
452
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
453
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
454
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
455
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
456
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
457
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
458
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
459
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
460
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
461
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
462
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
463
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
464
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
465
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
466
+  (0.1ms) BEGIN
467
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
468
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
469
+  (25.3ms) COMMIT
470
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
471
+  (0.1ms) BEGIN
472
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
473
+ from geoips where ip_to >= 3232235778)) LIMIT 1
474
+  (0.2ms) ROLLBACK
475
+  (0.1ms) BEGIN
476
+  (0.1ms) ROLLBACK
477
+  (0.1ms) BEGIN
478
+  (0.1ms) ROLLBACK
479
+  (0.1ms) BEGIN
480
+  (0.1ms) ROLLBACK
481
+  (0.1ms) BEGIN
482
+  (0.1ms) ROLLBACK
483
+ Connecting to database specified by database.yml
484
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
485
+ Migrating to CreateGeoips (1)
486
+ Unable to load geoip, underlying cause No such file to load -- geoip
487
+
488
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
489
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
490
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
491
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
492
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
493
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
494
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
495
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
496
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
497
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
498
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
499
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
500
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
501
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
502
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
503
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
504
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
505
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
506
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
507
+  (0.1ms) BEGIN
508
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
509
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
510
+  (20.9ms) COMMIT
511
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
512
+  (0.1ms) BEGIN
513
+ IpToCountry::Geoip Load (1.0ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
514
+ from geoips where ip_to >= 3232235778)) LIMIT 1
515
+  (0.2ms) ROLLBACK
516
+  (0.1ms) BEGIN
517
+  (0.1ms) ROLLBACK
518
+  (0.1ms) BEGIN
519
+  (0.1ms) ROLLBACK
520
+  (0.1ms) BEGIN
521
+  (0.1ms) ROLLBACK
522
+  (0.1ms) BEGIN
523
+  (0.1ms) ROLLBACK
524
+ Connecting to database specified by database.yml
525
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
526
+ Migrating to CreateGeoips (1)
527
+ Unable to load geoip, underlying cause No such file to load -- geoip
528
+
529
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
530
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
531
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
532
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
533
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
534
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
535
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
536
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
537
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
538
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
539
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
540
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
541
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
542
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
543
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
544
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
545
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
546
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
547
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
548
+  (0.1ms) BEGIN
549
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
550
+ Fixture Insert (0.8ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
551
+  (19.6ms) COMMIT
552
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
553
+  (0.1ms) BEGIN
554
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
555
+ from geoips where ip_to >= 3232235778)) LIMIT 1
556
+  (0.1ms) ROLLBACK
557
+  (0.1ms) BEGIN
558
+  (0.1ms) ROLLBACK
559
+  (0.1ms) BEGIN
560
+  (0.1ms) ROLLBACK
561
+  (0.1ms) BEGIN
562
+  (0.1ms) ROLLBACK
563
+  (0.1ms) BEGIN
564
+  (0.1ms) ROLLBACK
565
+ Connecting to database specified by database.yml
566
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
567
+ Migrating to CreateGeoips (1)
568
+ Unable to load geoip, underlying cause No such file to load -- geoip
569
+
570
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
571
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
572
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
573
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
574
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
575
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
576
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
577
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
578
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
579
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
580
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
581
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
582
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
583
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
584
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
585
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
586
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
587
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
588
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
589
+  (0.1ms) BEGIN
590
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
591
+ Fixture Insert (0.6ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
592
+  (16.9ms) COMMIT
593
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
594
+  (0.1ms) BEGIN
595
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
596
+ from geoips where ip_to >= 3232235778)) LIMIT 1
597
+  (0.2ms) ROLLBACK
598
+  (0.1ms) BEGIN
599
+  (0.1ms) ROLLBACK
600
+  (0.1ms) BEGIN
601
+  (0.1ms) ROLLBACK
602
+  (0.1ms) BEGIN
603
+  (0.1ms) ROLLBACK
604
+  (0.1ms) BEGIN
605
+  (0.1ms) ROLLBACK
606
+ Connecting to database specified by database.yml
607
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
608
+ Migrating to CreateGeoips (1)
609
+ Unable to load geoip, underlying cause No such file to load -- geoip
610
+
611
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
612
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
613
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
614
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
615
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
616
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
617
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
618
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
619
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
620
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
621
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
622
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
623
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
624
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
625
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
626
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
627
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
628
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
629
+  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
630
+  (0.2ms) BEGIN
631
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
632
+ Fixture Insert (0.9ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
633
+  (28.6ms) COMMIT
634
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
635
+  (0.1ms) BEGIN
636
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
637
+ from geoips where ip_to >= 3232235778)) LIMIT 1
638
+  (0.2ms) ROLLBACK
639
+  (0.1ms) BEGIN
640
+  (0.2ms) ROLLBACK
641
+  (0.1ms) BEGIN
642
+  (0.1ms) ROLLBACK
643
+  (0.1ms) BEGIN
644
+  (0.1ms) ROLLBACK
645
+  (0.1ms) BEGIN
646
+  (0.1ms) ROLLBACK
647
+ Connecting to database specified by database.yml
648
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
649
+ Migrating to CreateGeoips (1)
650
+ Unable to load geoip, underlying cause No such file to load -- geoip
651
+
652
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
653
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
654
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
655
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
656
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
657
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
658
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
659
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
660
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
661
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
662
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
663
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
664
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
665
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
666
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
667
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
668
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
669
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
670
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
671
+  (0.2ms) BEGIN
672
+ Fixture Delete (2.6ms) DELETE FROM "geoips"
673
+ Fixture Insert (0.9ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
674
+  (16.8ms) COMMIT
675
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
676
+  (0.1ms) BEGIN
677
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
678
+ from geoips where ip_to >= 3232235778)) LIMIT 1
679
+  (0.2ms) ROLLBACK
680
+  (0.1ms) BEGIN
681
+  (0.1ms) ROLLBACK
682
+  (0.1ms) BEGIN
683
+  (0.1ms) ROLLBACK
684
+  (0.1ms) BEGIN
685
+  (0.2ms) ROLLBACK
686
+  (0.1ms) BEGIN
687
+  (0.1ms) ROLLBACK
688
+ Connecting to database specified by database.yml
689
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
690
+ Migrating to CreateGeoips (1)
691
+ Unable to load geoip, underlying cause No such file to load -- geoip
692
+
693
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
694
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
695
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
696
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
697
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
698
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
699
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
700
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
701
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
702
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
703
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
704
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
705
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
706
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
707
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
708
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
709
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
710
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
711
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
712
+  (0.1ms) BEGIN
713
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
714
+ Fixture Insert (0.4ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
715
+  (42.5ms) COMMIT
716
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
717
+  (0.1ms) BEGIN
718
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
719
+ from geoips where ip_to >= 3232235778)) LIMIT 1
720
+  (0.2ms) ROLLBACK
721
+  (0.1ms) BEGIN
722
+  (0.1ms) ROLLBACK
723
+  (0.1ms) BEGIN
724
+  (0.1ms) ROLLBACK
725
+  (0.1ms) BEGIN
726
+  (0.2ms) ROLLBACK
727
+  (0.1ms) BEGIN
728
+  (0.1ms) ROLLBACK
729
+ Connecting to database specified by database.yml
730
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
731
+ Migrating to CreateGeoips (1)
732
+ Unable to load geoip, underlying cause No such file to load -- geoip
733
+
734
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
735
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
736
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
737
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
738
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
739
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
740
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
741
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
742
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
743
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
744
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
745
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
746
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
747
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
748
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
749
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
750
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
751
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
752
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
753
+  (0.1ms) BEGIN
754
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
755
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
756
+  (20.7ms) COMMIT
757
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
758
+  (0.1ms) BEGIN
759
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
760
+ from geoips where ip_to >= 3232235778)) LIMIT 1
761
+  (0.2ms) ROLLBACK
762
+  (0.1ms) BEGIN
763
+  (0.1ms) ROLLBACK
764
+  (0.1ms) BEGIN
765
+  (0.1ms) ROLLBACK
766
+  (0.1ms) BEGIN
767
+  (0.1ms) ROLLBACK
768
+  (0.1ms) BEGIN
769
+  (0.1ms) ROLLBACK
770
+ Connecting to database specified by database.yml
771
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
772
+ Migrating to CreateGeoips (1)
773
+ Unable to load geoip, underlying cause No such file to load -- geoip
774
+
775
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
776
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
777
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
778
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
779
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
780
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
781
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
782
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
783
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
784
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
785
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
786
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
787
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
788
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
789
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
790
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
791
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
792
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
793
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
794
+  (0.2ms) BEGIN
795
+ Fixture Delete (2.5ms) DELETE FROM "geoips"
796
+ Fixture Insert (0.7ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
797
+  (17.9ms) COMMIT
798
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
799
+  (0.1ms) BEGIN
800
+ IpToCountry::Geoip Load (2.3ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
801
+ from geoips where ip_to >= 3232235778)) LIMIT 1
802
+  (0.2ms) ROLLBACK
803
+  (0.1ms) BEGIN
804
+  (0.1ms) ROLLBACK
805
+  (0.1ms) BEGIN
806
+  (0.1ms) ROLLBACK
807
+  (0.1ms) BEGIN
808
+  (0.1ms) ROLLBACK
809
+  (0.1ms) BEGIN
810
+  (0.1ms) ROLLBACK
811
+ Connecting to database specified by database.yml
812
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
813
+ Migrating to CreateGeoips (1)
814
+ Unable to load geoip, underlying cause No such file to load -- geoip
815
+
816
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
817
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
818
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
819
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
820
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
821
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
822
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
823
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
824
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
825
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
826
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
827
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
828
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
829
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
830
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
831
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
832
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
833
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
834
+  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
835
+  (0.1ms) BEGIN
836
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
837
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
838
+  (23.8ms) COMMIT
839
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
840
+  (0.1ms) BEGIN
841
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
842
+ from geoips where ip_to >= 3232235778)) LIMIT 1
843
+  (0.2ms) ROLLBACK
844
+  (0.1ms) BEGIN
845
+  (0.1ms) ROLLBACK
846
+  (0.1ms) BEGIN
847
+  (0.1ms) ROLLBACK
848
+  (0.1ms) BEGIN
849
+  (0.1ms) ROLLBACK
850
+  (0.1ms) BEGIN
851
+  (0.1ms) ROLLBACK
852
+  (0.1ms) BEGIN
853
+  (0.1ms) ROLLBACK
854
+  (0.1ms) BEGIN
855
+  (0.1ms) ROLLBACK
856
+  (0.1ms) BEGIN
857
+  (0.1ms) ROLLBACK
858
+  (0.1ms) BEGIN
859
+  (0.1ms) ROLLBACK
860
+ Connecting to database specified by database.yml
861
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
862
+ Migrating to CreateGeoips (1)
863
+ Unable to load geoip, underlying cause No such file to load -- geoip
864
+
865
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
866
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
867
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
868
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
869
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
870
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
871
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
872
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
873
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
874
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
875
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
876
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
877
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
878
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
879
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
880
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
881
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
882
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
883
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
884
+  (0.1ms) BEGIN
885
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
886
+ Fixture Insert (0.4ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
887
+  (25.6ms) COMMIT
888
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
889
+  (0.1ms) BEGIN
890
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
891
+ from geoips where ip_to >= 3232235778)) LIMIT 1
892
+  (0.2ms) ROLLBACK
893
+  (0.1ms) BEGIN
894
+  (0.1ms) ROLLBACK
895
+  (0.1ms) BEGIN
896
+  (0.1ms) ROLLBACK
897
+  (0.1ms) BEGIN
898
+  (0.1ms) ROLLBACK
899
+  (0.1ms) BEGIN
900
+  (0.1ms) ROLLBACK
901
+  (0.1ms) BEGIN
902
+  (0.2ms) ROLLBACK
903
+  (0.1ms) BEGIN
904
+  (0.1ms) ROLLBACK
905
+  (0.1ms) BEGIN
906
+  (0.1ms) ROLLBACK
907
+  (0.1ms) BEGIN
908
+  (0.1ms) ROLLBACK
909
+ Connecting to database specified by database.yml
910
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
911
+ Migrating to CreateGeoips (1)
912
+ Unable to load geoip, underlying cause No such file to load -- geoip
913
+
914
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
915
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
916
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
917
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
918
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
919
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
920
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
921
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
922
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
923
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
924
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
925
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
926
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
927
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
928
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
929
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
930
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
931
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
932
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
933
+  (0.1ms) BEGIN
934
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
935
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
936
+  (16.0ms) COMMIT
937
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
938
+  (0.2ms) BEGIN
939
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
940
+ from geoips where ip_to >= 3232235778)) LIMIT 1
941
+  (0.2ms) ROLLBACK
942
+  (0.1ms) BEGIN
943
+  (0.1ms) ROLLBACK
944
+  (0.1ms) BEGIN
945
+  (0.1ms) ROLLBACK
946
+  (0.1ms) BEGIN
947
+  (0.1ms) ROLLBACK
948
+  (0.1ms) BEGIN
949
+  (0.1ms) ROLLBACK
950
+  (0.1ms) BEGIN
951
+  (0.2ms) ROLLBACK
952
+  (0.1ms) BEGIN
953
+  (0.1ms) ROLLBACK
954
+  (0.1ms) BEGIN
955
+  (0.1ms) ROLLBACK
956
+  (0.1ms) BEGIN
957
+  (0.1ms) ROLLBACK
958
+ Connecting to database specified by database.yml
959
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
960
+ Migrating to CreateGeoips (1)
961
+ Unable to load geoip, underlying cause No such file to load -- geoip
962
+
963
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
964
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
965
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
966
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
967
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
968
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
969
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
970
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
971
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
972
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
973
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
974
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
975
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
976
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
977
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
978
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
979
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
980
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
981
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
982
+  (0.1ms) BEGIN
983
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
984
+ Fixture Insert (0.6ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
985
+  (15.3ms) COMMIT
986
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
987
+  (0.1ms) BEGIN
988
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
989
+ from geoips where ip_to >= 3232235778)) LIMIT 1
990
+  (0.2ms) ROLLBACK
991
+  (0.1ms) BEGIN
992
+  (0.1ms) ROLLBACK
993
+  (0.1ms) BEGIN
994
+  (0.1ms) ROLLBACK
995
+  (0.1ms) BEGIN
996
+  (0.1ms) ROLLBACK
997
+  (0.1ms) BEGIN
998
+  (0.1ms) ROLLBACK
999
+  (0.1ms) BEGIN
1000
+  (0.1ms) ROLLBACK
1001
+  (0.1ms) BEGIN
1002
+  (0.1ms) ROLLBACK
1003
+  (0.1ms) BEGIN
1004
+  (79.9ms) ALTER TABLE geoips RENAME TO tmp;
1005
+ ALTER TABLE geoips_tempo RENAME TO geoips;
1006
+ ALTER TABLE tmp RENAME TO geoips_tempo;
1007
+ DROP TABLE geoips_tempo;
1008
+
1009
+ PG::Error: ERROR: relation "geoips_tempo" does not exist
1010
+ : ALTER TABLE geoips RENAME TO tmp;
1011
+ ALTER TABLE geoips_tempo RENAME TO geoips;
1012
+ ALTER TABLE tmp RENAME TO geoips_tempo;
1013
+ DROP TABLE geoips_tempo;
1014
+
1015
+  (0.1ms) ROLLBACK
1016
+  (0.1ms) BEGIN
1017
+  (0.1ms) ROLLBACK
1018
+ Connecting to database specified by database.yml
1019
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1020
+ Migrating to CreateGeoips (1)
1021
+ Unable to load geoip, underlying cause No such file to load -- geoip
1022
+
1023
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1024
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1025
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1026
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1027
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1028
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1029
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1030
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1031
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1032
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1033
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1034
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1035
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1036
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1037
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1038
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1039
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1040
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1041
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1042
+  (0.1ms) BEGIN
1043
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
1044
+ Fixture Insert (0.6ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1045
+  (17.5ms) COMMIT
1046
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1047
+  (0.1ms) BEGIN
1048
+ IpToCountry::Geoip Load (1.3ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1049
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1050
+  (0.2ms) ROLLBACK
1051
+  (0.1ms) BEGIN
1052
+  (0.1ms) ROLLBACK
1053
+  (0.1ms) BEGIN
1054
+  (0.1ms) ROLLBACK
1055
+  (0.1ms) BEGIN
1056
+  (0.1ms) ROLLBACK
1057
+  (0.1ms) BEGIN
1058
+  (0.1ms) ROLLBACK
1059
+  (0.1ms) BEGIN
1060
+  (0.1ms) ROLLBACK
1061
+  (0.1ms) BEGIN
1062
+  (0.1ms) ROLLBACK
1063
+  (0.1ms) BEGIN
1064
+  (0.8ms) ALTER TABLE geoips RENAME TO tmp;
1065
+ ALTER TABLE geoips_tempo RENAME TO geoips;
1066
+ ALTER TABLE tmp RENAME TO geoips_tempo;
1067
+ DROP TABLE geoips_tempo;
1068
+
1069
+ PG::Error: ERROR: relation "geoips_tempo" does not exist
1070
+ : ALTER TABLE geoips RENAME TO tmp;
1071
+ ALTER TABLE geoips_tempo RENAME TO geoips;
1072
+ ALTER TABLE tmp RENAME TO geoips_tempo;
1073
+ DROP TABLE geoips_tempo;
1074
+
1075
+  (0.1ms) ROLLBACK
1076
+  (0.1ms) BEGIN
1077
+  (0.1ms) ROLLBACK
1078
+ Connecting to database specified by database.yml
1079
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1080
+ Migrating to CreateGeoips (1)
1081
+ Unable to load geoip, underlying cause No such file to load -- geoip
1082
+
1083
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1084
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1085
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1086
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1087
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1088
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1089
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1090
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1091
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1092
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1093
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1094
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1095
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1096
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1097
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1098
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1099
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1100
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1101
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1102
+  (0.1ms) BEGIN
1103
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
1104
+ Fixture Insert (0.4ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1105
+  (18.1ms) COMMIT
1106
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1107
+  (0.1ms) BEGIN
1108
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1109
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1110
+  (0.2ms) ROLLBACK
1111
+  (0.1ms) BEGIN
1112
+  (0.1ms) ROLLBACK
1113
+  (0.1ms) BEGIN
1114
+  (0.1ms) ROLLBACK
1115
+  (0.1ms) BEGIN
1116
+  (0.1ms) ROLLBACK
1117
+  (0.1ms) BEGIN
1118
+  (0.2ms) ROLLBACK
1119
+  (0.1ms) BEGIN
1120
+  (0.2ms) ROLLBACK
1121
+  (0.1ms) BEGIN
1122
+  (0.1ms) ROLLBACK
1123
+  (0.1ms) BEGIN
1124
+  (0.7ms) ALTER TABLE geoips RENAME TO tmp;
1125
+ ALTER TABLE geoips_tempo RENAME TO geoips;
1126
+ ALTER TABLE tmp RENAME TO geoips_tempo;
1127
+ DROP TABLE geoips_tempo;
1128
+
1129
+ PG::Error: ERROR: relation "geoips_tempo" does not exist
1130
+ : ALTER TABLE geoips RENAME TO tmp;
1131
+ ALTER TABLE geoips_tempo RENAME TO geoips;
1132
+ ALTER TABLE tmp RENAME TO geoips_tempo;
1133
+ DROP TABLE geoips_tempo;
1134
+
1135
+  (0.1ms) ROLLBACK
1136
+  (0.1ms) BEGIN
1137
+  (0.1ms) ROLLBACK
1138
+ Connecting to database specified by database.yml
1139
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1140
+ Migrating to CreateGeoips (1)
1141
+ Unable to load geoip, underlying cause No such file to load -- geoip
1142
+
1143
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1144
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1145
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1146
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1147
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1148
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1149
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1150
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1151
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1152
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1153
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1154
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1155
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1156
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1157
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1158
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1159
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1160
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1161
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1162
+  (0.2ms) BEGIN
1163
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
1164
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1165
+  (17.3ms) COMMIT
1166
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1167
+  (0.3ms) BEGIN
1168
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1169
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1170
+  (0.2ms) ROLLBACK
1171
+  (0.1ms) BEGIN
1172
+  (0.1ms) ROLLBACK
1173
+  (0.1ms) BEGIN
1174
+  (0.1ms) ROLLBACK
1175
+  (0.1ms) BEGIN
1176
+  (0.1ms) ROLLBACK
1177
+  (0.1ms) BEGIN
1178
+  (0.1ms) ROLLBACK
1179
+  (0.1ms) BEGIN
1180
+  (0.1ms) ROLLBACK
1181
+  (0.1ms) BEGIN
1182
+  (0.1ms) ROLLBACK
1183
+  (0.1ms) BEGIN
1184
+  (0.1ms) ROLLBACK
1185
+  (0.1ms) BEGIN
1186
+  (0.1ms) ROLLBACK
1187
+ Connecting to database specified by database.yml
1188
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1189
+ Migrating to CreateGeoips (1)
1190
+ Unable to load geoip, underlying cause No such file to load -- geoip
1191
+
1192
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1193
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1194
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1195
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1196
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1197
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1198
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1199
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1200
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1201
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1202
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1203
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1204
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1205
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1206
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1207
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1208
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1209
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1210
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1211
+  (0.2ms) BEGIN
1212
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
1213
+ Fixture Insert (0.7ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1214
+  (11.0ms) COMMIT
1215
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1216
+  (0.2ms) BEGIN
1217
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1218
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1219
+  (0.2ms) ROLLBACK
1220
+  (0.1ms) BEGIN
1221
+  (0.1ms) ROLLBACK
1222
+  (0.1ms) BEGIN
1223
+  (0.1ms) ROLLBACK
1224
+  (0.1ms) BEGIN
1225
+  (0.2ms) ROLLBACK
1226
+  (0.1ms) BEGIN
1227
+  (0.2ms) ROLLBACK
1228
+  (0.1ms) BEGIN
1229
+  (0.1ms) ROLLBACK
1230
+  (0.1ms) BEGIN
1231
+  (0.1ms) ROLLBACK
1232
+  (0.1ms) BEGIN
1233
+  (0.1ms) ROLLBACK
1234
+  (0.1ms) BEGIN
1235
+  (0.1ms) ROLLBACK
1236
+ Connecting to database specified by database.yml
1237
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1238
+ Migrating to CreateGeoips (1)
1239
+ Unable to load geoip, underlying cause No such file to load -- geoip
1240
+
1241
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1242
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1243
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1244
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1245
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1246
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1247
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1248
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1249
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1250
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1251
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1252
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1253
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1254
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1255
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1256
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1257
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1258
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1259
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1260
+  (0.1ms) BEGIN
1261
+ Fixture Delete (0.7ms) DELETE FROM "geoips"
1262
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1263
+  (24.8ms) COMMIT
1264
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1265
+  (0.1ms) BEGIN
1266
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1267
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1268
+  (0.2ms) ROLLBACK
1269
+  (0.1ms) BEGIN
1270
+  (0.1ms) ROLLBACK
1271
+  (0.1ms) BEGIN
1272
+  (0.1ms) ROLLBACK
1273
+  (0.1ms) BEGIN
1274
+  (0.1ms) ROLLBACK
1275
+  (0.1ms) BEGIN
1276
+  (0.1ms) ROLLBACK
1277
+  (0.1ms) BEGIN
1278
+  (0.2ms) ROLLBACK
1279
+  (0.1ms) BEGIN
1280
+  (0.1ms) ROLLBACK
1281
+  (0.1ms) BEGIN
1282
+  (0.1ms) ROLLBACK
1283
+  (0.1ms) BEGIN
1284
+  (0.1ms) ROLLBACK
1285
+ Connecting to database specified by database.yml
1286
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1287
+ Migrating to CreateGeoips (1)
1288
+ Unable to load geoip, underlying cause No such file to load -- geoip
1289
+
1290
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1291
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1292
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1293
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1294
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1295
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1296
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1297
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1298
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1299
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1300
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1301
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1302
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1303
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1304
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1305
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1306
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1307
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1308
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1309
+  (0.1ms) BEGIN
1310
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
1311
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1312
+  (17.5ms) COMMIT
1313
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1314
+  (0.1ms) BEGIN
1315
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1316
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1317
+  (0.2ms) ROLLBACK
1318
+  (0.1ms) BEGIN
1319
+  (0.1ms) ROLLBACK
1320
+  (0.1ms) BEGIN
1321
+  (0.1ms) ROLLBACK
1322
+  (0.1ms) BEGIN
1323
+  (0.1ms) ROLLBACK
1324
+  (0.1ms) BEGIN
1325
+  (0.1ms) ROLLBACK
1326
+  (0.1ms) BEGIN
1327
+  (0.1ms) ROLLBACK
1328
+  (0.1ms) BEGIN
1329
+  (0.1ms) ROLLBACK
1330
+  (0.0ms) BEGIN
1331
+  (0.1ms) ROLLBACK
1332
+  (0.0ms) BEGIN
1333
+  (0.1ms) ROLLBACK
1334
+ Connecting to database specified by database.yml
1335
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1336
+ Migrating to CreateGeoips (1)
1337
+ Unable to load geoip, underlying cause No such file to load -- geoip
1338
+
1339
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1340
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1341
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1342
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1343
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1344
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1345
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1346
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1347
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1348
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1349
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1350
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1351
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1352
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1353
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1354
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1355
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1356
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1357
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1358
+  (0.2ms) BEGIN
1359
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
1360
+ Fixture Insert (1.0ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1361
+  (12.4ms) COMMIT
1362
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1363
+  (0.2ms) BEGIN
1364
+ IpToCountry::Geoip Load (2.4ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1365
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1366
+  (0.2ms) ROLLBACK
1367
+  (0.1ms) BEGIN
1368
+  (0.1ms) ROLLBACK
1369
+  (0.1ms) BEGIN
1370
+  (0.1ms) ROLLBACK
1371
+  (0.1ms) BEGIN
1372
+  (0.2ms) ROLLBACK
1373
+  (0.1ms) BEGIN
1374
+  (0.1ms) ROLLBACK
1375
+  (0.1ms) BEGIN
1376
+  (0.2ms) ROLLBACK
1377
+  (0.1ms) BEGIN
1378
+  (0.2ms) ROLLBACK
1379
+  (0.1ms) BEGIN
1380
+  (0.5ms) ROLLBACK
1381
+  (0.1ms) BEGIN
1382
+  (0.1ms) ROLLBACK
1383
+ Connecting to database specified by database.yml
1384
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1385
+ Migrating to CreateGeoips (1)
1386
+ Unable to load geoip, underlying cause No such file to load -- geoip
1387
+
1388
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1389
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1390
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1391
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1392
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1393
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1394
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1395
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1396
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1397
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1398
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1399
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1400
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1401
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1402
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1403
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1404
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1405
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1406
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1407
+  (0.2ms) BEGIN
1408
+ Fixture Delete (0.9ms) DELETE FROM "geoips"
1409
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1410
+  (25.0ms) COMMIT
1411
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1412
+  (0.1ms) BEGIN
1413
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1414
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1415
+  (0.2ms) ROLLBACK
1416
+  (0.1ms) BEGIN
1417
+  (0.1ms) ROLLBACK
1418
+  (0.1ms) BEGIN
1419
+  (0.1ms) ROLLBACK
1420
+  (0.1ms) BEGIN
1421
+  (0.2ms) ROLLBACK
1422
+  (0.1ms) BEGIN
1423
+  (0.1ms) ROLLBACK
1424
+  (0.1ms) BEGIN
1425
+  (0.3ms) ROLLBACK
1426
+  (0.1ms) BEGIN
1427
+  (0.2ms) ROLLBACK
1428
+  (0.1ms) BEGIN
1429
+  (0.2ms) ROLLBACK
1430
+  (0.1ms) BEGIN
1431
+  (0.2ms) ROLLBACK
1432
+ Connecting to database specified by database.yml
1433
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1434
+ Migrating to CreateGeoips (1)
1435
+ Unable to load geoip, underlying cause No such file to load -- geoip
1436
+
1437
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1438
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1439
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1440
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1441
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1442
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1443
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1444
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1445
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1446
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1447
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1448
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1449
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1450
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1451
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1452
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1453
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1454
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1455
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1456
+  (0.2ms) BEGIN
1457
+ Fixture Delete (0.8ms) DELETE FROM "geoips"
1458
+ Fixture Insert (0.8ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1459
+  (15.2ms) COMMIT
1460
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1461
+  (0.1ms) BEGIN
1462
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1463
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1464
+  (0.2ms) ROLLBACK
1465
+  (0.1ms) BEGIN
1466
+  (0.1ms) ROLLBACK
1467
+  (0.1ms) BEGIN
1468
+  (0.1ms) ROLLBACK
1469
+  (0.1ms) BEGIN
1470
+  (0.1ms) ROLLBACK
1471
+  (0.1ms) BEGIN
1472
+  (183.3ms) DROP TABLE IF EXISTS geoips_tempo;
1473
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1474
+
1475
+  (0.6ms) ROLLBACK
1476
+  (0.1ms) BEGIN
1477
+  (0.1ms) ROLLBACK
1478
+  (0.1ms) BEGIN
1479
+  (0.1ms) ROLLBACK
1480
+  (0.1ms) BEGIN
1481
+  (0.1ms) ROLLBACK
1482
+  (0.1ms) BEGIN
1483
+  (0.1ms) ROLLBACK
1484
+ Connecting to database specified by database.yml
1485
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1486
+ Migrating to CreateGeoips (1)
1487
+ Unable to load geoip, underlying cause No such file to load -- geoip
1488
+
1489
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1490
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1491
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1492
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1493
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1494
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1495
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1496
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1497
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1498
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1499
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1500
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1501
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1502
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1503
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1504
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1505
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1506
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1507
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1508
+  (0.1ms) BEGIN
1509
+ Fixture Delete (0.4ms) DELETE FROM "geoips"
1510
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1511
+  (12.5ms) COMMIT
1512
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1513
+  (0.2ms) BEGIN
1514
+ IpToCountry::Geoip Load (1.4ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1515
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1516
+  (0.2ms) ROLLBACK
1517
+  (0.1ms) BEGIN
1518
+  (0.1ms) ROLLBACK
1519
+  (0.1ms) BEGIN
1520
+  (0.1ms) ROLLBACK
1521
+  (0.1ms) BEGIN
1522
+  (0.1ms) ROLLBACK
1523
+  (0.1ms) BEGIN
1524
+  (0.1ms) ROLLBACK
1525
+  (0.1ms) BEGIN
1526
+  (67.7ms) DROP TABLE IF EXISTS geoips_tempo;
1527
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1528
+
1529
+  (0.6ms) ROLLBACK
1530
+  (0.1ms) BEGIN
1531
+  (0.2ms) ROLLBACK
1532
+  (0.1ms) BEGIN
1533
+  (0.1ms) ROLLBACK
1534
+  (0.1ms) BEGIN
1535
+  (0.1ms) ROLLBACK
1536
+ Connecting to database specified by database.yml
1537
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1538
+ Migrating to CreateGeoips (1)
1539
+ Unable to load geoip, underlying cause No such file to load -- geoip
1540
+
1541
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1542
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1543
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1544
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1545
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1546
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1547
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1548
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1549
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1550
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1551
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1552
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1553
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1554
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1555
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1556
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1557
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1558
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1559
+  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1560
+  (0.2ms) BEGIN
1561
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
1562
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1563
+  (23.3ms) COMMIT
1564
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1565
+  (0.1ms) BEGIN
1566
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1567
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1568
+  (0.2ms) ROLLBACK
1569
+  (0.1ms) BEGIN
1570
+  (0.1ms) ROLLBACK
1571
+  (0.1ms) BEGIN
1572
+  (0.1ms) ROLLBACK
1573
+  (0.1ms) BEGIN
1574
+  (0.1ms) ROLLBACK
1575
+  (0.1ms) BEGIN
1576
+  (0.1ms) ROLLBACK
1577
+  (0.1ms) BEGIN
1578
+  (54.7ms) DROP TABLE IF EXISTS geoips_tempo;
1579
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1580
+
1581
+  (0.7ms) ROLLBACK
1582
+  (0.1ms) BEGIN
1583
+  (0.1ms) ROLLBACK
1584
+  (0.1ms) BEGIN
1585
+  (0.1ms) ROLLBACK
1586
+  (0.1ms) BEGIN
1587
+  (0.1ms) ROLLBACK
1588
+ Connecting to database specified by database.yml
1589
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1590
+ Migrating to CreateGeoips (1)
1591
+ Unable to load geoip, underlying cause No such file to load -- geoip
1592
+
1593
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1594
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1595
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1596
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1597
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1598
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1599
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1600
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1601
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1602
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1603
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1604
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1605
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1606
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1607
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1608
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1609
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1610
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1611
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1612
+  (0.1ms) BEGIN
1613
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
1614
+ Fixture Insert (0.9ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1615
+  (12.3ms) COMMIT
1616
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1617
+  (0.1ms) BEGIN
1618
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1619
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1620
+  (0.2ms) ROLLBACK
1621
+  (0.1ms) BEGIN
1622
+  (0.1ms) ROLLBACK
1623
+  (0.1ms) BEGIN
1624
+  (0.1ms) ROLLBACK
1625
+  (0.1ms) BEGIN
1626
+  (0.1ms) ROLLBACK
1627
+  (0.1ms) BEGIN
1628
+  (0.2ms) ROLLBACK
1629
+  (0.1ms) BEGIN
1630
+  (61.6ms) DROP TABLE IF EXISTS geoips_tempo;
1631
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1632
+
1633
+  (0.7ms) ROLLBACK
1634
+  (0.1ms) BEGIN
1635
+  (1.4ms) ROLLBACK
1636
+  (0.1ms) BEGIN
1637
+  (0.2ms) ROLLBACK
1638
+  (0.2ms) BEGIN
1639
+  (0.1ms) ROLLBACK
1640
+ Connecting to database specified by database.yml
1641
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1642
+ Migrating to CreateGeoips (1)
1643
+ Unable to load geoip, underlying cause No such file to load -- geoip
1644
+
1645
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1646
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1647
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1648
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1649
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1650
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1651
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1652
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1653
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1654
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1655
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1656
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1657
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1658
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1659
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1660
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1661
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1662
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1663
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1664
+  (1.6ms) BEGIN
1665
+ Fixture Delete (0.7ms) DELETE FROM "geoips"
1666
+ Fixture Insert (0.9ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1667
+  (20.7ms) COMMIT
1668
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1669
+  (0.1ms) BEGIN
1670
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1671
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1672
+  (0.2ms) ROLLBACK
1673
+  (0.1ms) BEGIN
1674
+  (0.1ms) ROLLBACK
1675
+  (0.1ms) BEGIN
1676
+  (0.1ms) ROLLBACK
1677
+  (0.1ms) BEGIN
1678
+  (0.2ms) ROLLBACK
1679
+  (0.0ms) BEGIN
1680
+  (0.1ms) ROLLBACK
1681
+  (0.1ms) BEGIN
1682
+  (59.2ms) DROP TABLE IF EXISTS geoips_tempo;
1683
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1684
+
1685
+  (0.6ms) ROLLBACK
1686
+  (0.1ms) BEGIN
1687
+  (0.1ms) ROLLBACK
1688
+  (0.0ms) BEGIN
1689
+  (0.1ms) ROLLBACK
1690
+  (0.0ms) BEGIN
1691
+  (70.1ms)  DROP TABLE IF EXISTS geoips_tempo;
1692
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1693
+ 
1694
+  (114.6ms) ALTER TABLE geoips RENAME TO tmp;
1695
+ ALTER TABLE geoips_tempo RENAME TO geoips;
1696
+ ALTER TABLE tmp RENAME TO geoips_tempo;
1697
+ DROP TABLE geoips_tempo;
1698
+
1699
+  (0.7ms) ROLLBACK
1700
+ Connecting to database specified by database.yml
1701
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1702
+ Migrating to CreateGeoips (1)
1703
+ Unable to load geoip, underlying cause No such file to load -- geoip
1704
+
1705
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1706
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1707
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1708
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1709
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1710
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1711
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1712
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1713
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1714
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1715
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1716
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1717
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1718
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1719
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1720
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1721
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1722
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1723
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1724
+  (0.2ms) BEGIN
1725
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
1726
+ Fixture Insert (1.0ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1727
+  (19.7ms) COMMIT
1728
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1729
+  (0.1ms) BEGIN
1730
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1731
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1732
+  (0.2ms) ROLLBACK
1733
+  (0.1ms) BEGIN
1734
+  (0.1ms) ROLLBACK
1735
+  (0.1ms) BEGIN
1736
+  (0.1ms) ROLLBACK
1737
+  (0.1ms) BEGIN
1738
+  (0.1ms) ROLLBACK
1739
+  (0.1ms) BEGIN
1740
+  (57.0ms) DROP TABLE IF EXISTS geoips_tempo;
1741
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1742
+
1743
+  (0.8ms) ROLLBACK
1744
+  (0.1ms) BEGIN
1745
+  (0.1ms) ROLLBACK
1746
+  (0.0ms) BEGIN
1747
+  (0.6ms) ROLLBACK
1748
+  (0.1ms) BEGIN
1749
+  (0.2ms) ROLLBACK
1750
+  (0.1ms) BEGIN
1751
+  (55.4ms)  DROP TABLE IF EXISTS geoips_tempo;
1752
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1753
+ 
1754
+  (2.2ms) ALTER TABLE geoips RENAME TO tmp;
1755
+ ALTER TABLE geoips_tempo RENAME TO geoips;
1756
+ ALTER TABLE tmp RENAME TO geoips_tempo;
1757
+ DROP TABLE geoips_tempo;
1758
+
1759
+  (0.6ms) ROLLBACK
1760
+ Connecting to database specified by database.yml
1761
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1762
+ Migrating to CreateGeoips (1)
1763
+ Unable to load geoip, underlying cause No such file to load -- geoip
1764
+
1765
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1766
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1767
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1768
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1769
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1770
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1771
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1772
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1773
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1774
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1775
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1776
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1777
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1778
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1779
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1780
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1781
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1782
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1783
+  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1784
+  (0.1ms) BEGIN
1785
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
1786
+ Fixture Insert (0.6ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1787
+  (34.7ms) COMMIT
1788
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1789
+  (0.1ms) BEGIN
1790
+ IpToCountry::Geoip Load (1.3ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1791
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1792
+  (0.2ms) ROLLBACK
1793
+  (0.1ms) BEGIN
1794
+  (0.1ms) ROLLBACK
1795
+  (0.1ms) BEGIN
1796
+  (0.1ms) ROLLBACK
1797
+  (0.1ms) BEGIN
1798
+  (0.1ms) ROLLBACK
1799
+  (0.1ms) BEGIN
1800
+  (55.1ms) DROP TABLE IF EXISTS geoips_tempo;
1801
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1802
+
1803
+  (0.6ms) ROLLBACK
1804
+  (0.1ms) BEGIN
1805
+  (0.1ms) ROLLBACK
1806
+  (0.1ms) BEGIN
1807
+  (0.1ms) ROLLBACK
1808
+  (0.1ms) BEGIN
1809
+  (0.1ms) ROLLBACK
1810
+  (0.1ms) BEGIN
1811
+  (64.3ms)  DROP TABLE IF EXISTS geoips_tempo;
1812
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1813
+ 
1814
+  (1.9ms) ALTER TABLE geoips RENAME TO tmp;
1815
+ ALTER TABLE geoips_tempo RENAME TO geoips;
1816
+ ALTER TABLE tmp RENAME TO geoips_tempo;
1817
+ DROP TABLE geoips_tempo;
1818
+
1819
+  (0.6ms) ROLLBACK
1820
+ Connecting to database specified by database.yml
1821
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1822
+ Migrating to CreateGeoips (1)
1823
+ Unable to load geoip, underlying cause No such file to load -- geoip
1824
+
1825
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1826
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1827
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1828
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1829
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1830
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1831
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1832
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1833
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1834
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1835
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1836
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1837
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1838
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1839
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1840
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1841
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1842
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1843
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1844
+  (0.1ms) BEGIN
1845
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
1846
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1847
+  (23.3ms) COMMIT
1848
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1849
+  (0.1ms) BEGIN
1850
+ IpToCountry::Geoip Load (1.3ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1851
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1852
+  (0.2ms) ROLLBACK
1853
+  (0.1ms) BEGIN
1854
+  (0.1ms) ROLLBACK
1855
+  (0.1ms) BEGIN
1856
+  (0.2ms) ROLLBACK
1857
+  (0.1ms) BEGIN
1858
+  (0.2ms) ROLLBACK
1859
+  (0.1ms) BEGIN
1860
+  (55.0ms) DROP TABLE IF EXISTS geoips_tempo;
1861
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1862
+
1863
+  (1.0ms) ROLLBACK
1864
+  (0.1ms) BEGIN
1865
+  (0.2ms) ROLLBACK
1866
+  (0.1ms) BEGIN
1867
+  (1.6ms) ROLLBACK
1868
+  (0.1ms) BEGIN
1869
+  (0.2ms) ROLLBACK
1870
+  (0.1ms) BEGIN
1871
+  (65.5ms)  DROP TABLE IF EXISTS geoips_tempo;
1872
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1873
+ 
1874
+  (3.9ms) ALTER TABLE geoips RENAME TO tmp;
1875
+ ALTER TABLE geoips_tempo RENAME TO geoips;
1876
+ ALTER TABLE tmp RENAME TO geoips_tempo;
1877
+ DROP TABLE geoips_tempo;
1878
+
1879
+  (0.7ms) ROLLBACK
1880
+ Connecting to database specified by database.yml
1881
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1882
+ Migrating to CreateGeoips (1)
1883
+ Unable to load geoip, underlying cause No such file to load -- geoip
1884
+
1885
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1886
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1887
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1888
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1889
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1890
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1891
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1892
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1893
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1894
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1895
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1896
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1897
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1898
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1899
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1900
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1901
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1902
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1903
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1904
+  (0.1ms) BEGIN
1905
+ Fixture Delete (0.4ms) DELETE FROM "geoips"
1906
+ Fixture Insert (0.9ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1907
+  (22.6ms) COMMIT
1908
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1909
+  (0.1ms) BEGIN
1910
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1911
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1912
+  (0.2ms) ROLLBACK
1913
+  (0.1ms) BEGIN
1914
+  (0.1ms) ROLLBACK
1915
+  (0.1ms) BEGIN
1916
+  (0.1ms) ROLLBACK
1917
+  (0.1ms) BEGIN
1918
+  (0.1ms) ROLLBACK
1919
+  (0.1ms) BEGIN
1920
+  (44.9ms) DROP TABLE IF EXISTS geoips_tempo;
1921
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1922
+
1923
+  (0.7ms) ROLLBACK
1924
+  (0.1ms) BEGIN
1925
+  (0.2ms) ROLLBACK
1926
+  (0.1ms) BEGIN
1927
+  (0.7ms) ROLLBACK
1928
+  (0.1ms) BEGIN
1929
+  (0.1ms) ROLLBACK
1930
+  (0.1ms) BEGIN
1931
+  (55.1ms)  DROP TABLE IF EXISTS geoips_tempo;
1932
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1933
+ 
1934
+  (2.2ms) ALTER TABLE geoips RENAME TO tmp;
1935
+ ALTER TABLE geoips_tempo RENAME TO geoips;
1936
+ ALTER TABLE tmp RENAME TO geoips_tempo;
1937
+ DROP TABLE geoips_tempo;
1938
+
1939
+  (0.7ms) ROLLBACK
1940
+ Connecting to database specified by database.yml
1941
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1942
+ Migrating to CreateGeoips (1)
1943
+ Unable to load geoip, underlying cause No such file to load -- geoip
1944
+
1945
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
1946
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
1947
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
1948
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
1949
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
1950
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
1951
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
1952
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
1953
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
1954
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
1955
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
1956
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
1957
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
1958
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
1959
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
1960
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
1961
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
1962
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
1963
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
1964
+  (0.1ms) BEGIN
1965
+ Fixture Delete (0.4ms) DELETE FROM "geoips"
1966
+ Fixture Insert (0.4ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
1967
+  (17.9ms) COMMIT
1968
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
1969
+  (0.2ms) BEGIN
1970
+ IpToCountry::Geoip Load (1.3ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
1971
+ from geoips where ip_to >= 3232235778)) LIMIT 1
1972
+  (0.2ms) ROLLBACK
1973
+  (0.1ms) BEGIN
1974
+  (0.1ms) ROLLBACK
1975
+  (0.1ms) BEGIN
1976
+  (0.1ms) ROLLBACK
1977
+  (0.1ms) BEGIN
1978
+  (0.1ms) ROLLBACK
1979
+  (0.1ms) BEGIN
1980
+  (62.0ms) DROP TABLE IF EXISTS geoips_tempo;
1981
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1982
+
1983
+  (0.8ms) ROLLBACK
1984
+  (0.1ms) BEGIN
1985
+  (0.2ms) ROLLBACK
1986
+  (0.1ms) BEGIN
1987
+  (0.4ms) ROLLBACK
1988
+  (0.1ms) BEGIN
1989
+  (0.2ms) ROLLBACK
1990
+  (0.1ms) BEGIN
1991
+  (53.2ms)  DROP TABLE IF EXISTS geoips_tempo;
1992
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
1993
+ 
1994
+  (2.3ms) ALTER TABLE geoips RENAME TO tmp;
1995
+ ALTER TABLE geoips_tempo RENAME TO geoips;
1996
+ ALTER TABLE tmp RENAME TO geoips_tempo;
1997
+ DROP TABLE geoips_tempo;
1998
+
1999
+  (0.7ms) ROLLBACK
2000
+ Connecting to database specified by database.yml
2001
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2002
+ Migrating to CreateGeoips (1)
2003
+ Unable to load geoip, underlying cause No such file to load -- geoip
2004
+
2005
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2006
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2007
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2008
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2009
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2010
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2011
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2012
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2013
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2014
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2015
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2016
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2017
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2018
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2019
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2020
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2021
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2022
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2023
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2024
+  (0.2ms) BEGIN
2025
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
2026
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2027
+  (19.8ms) COMMIT
2028
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2029
+  (0.1ms) BEGIN
2030
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2031
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2032
+  (0.2ms) ROLLBACK
2033
+  (0.1ms) BEGIN
2034
+  (0.1ms) ROLLBACK
2035
+  (0.1ms) BEGIN
2036
+  (0.1ms) ROLLBACK
2037
+  (0.1ms) BEGIN
2038
+  (0.1ms) ROLLBACK
2039
+  (0.1ms) BEGIN
2040
+  (43.7ms) DROP TABLE IF EXISTS geoips_tempo;
2041
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2042
+
2043
+  (0.7ms) ROLLBACK
2044
+  (0.1ms) BEGIN
2045
+  (0.2ms) ROLLBACK
2046
+  (0.1ms) BEGIN
2047
+  (0.4ms) ROLLBACK
2048
+  (0.1ms) BEGIN
2049
+  (0.6ms) ROLLBACK
2050
+  (0.0ms) BEGIN
2051
+  (57.5ms)  DROP TABLE IF EXISTS geoips_tempo;
2052
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2053
+ 
2054
+  (1.7ms) ALTER TABLE geoips RENAME TO tmp;
2055
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2056
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2057
+ DROP TABLE geoips_tempo;
2058
+
2059
+  (1.3ms) ROLLBACK
2060
+ Connecting to database specified by database.yml
2061
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2062
+ Migrating to CreateGeoips (1)
2063
+ Unable to load geoip, underlying cause No such file to load -- geoip
2064
+
2065
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2066
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2067
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2068
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2069
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2070
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2071
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2072
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2073
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2074
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2075
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2076
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2077
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2078
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2079
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2080
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2081
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2082
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2083
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2084
+  (0.2ms) BEGIN
2085
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
2086
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2087
+  (23.2ms) COMMIT
2088
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2089
+  (0.1ms) BEGIN
2090
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2091
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2092
+  (0.2ms) ROLLBACK
2093
+  (0.1ms) BEGIN
2094
+  (0.1ms) ROLLBACK
2095
+  (0.1ms) BEGIN
2096
+  (0.1ms) ROLLBACK
2097
+  (0.1ms) BEGIN
2098
+  (0.1ms) ROLLBACK
2099
+  (0.0ms) BEGIN
2100
+  (43.8ms) DROP TABLE IF EXISTS geoips_tempo;
2101
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2102
+
2103
+  (0.7ms) ROLLBACK
2104
+  (0.1ms) BEGIN
2105
+  (0.2ms) ROLLBACK
2106
+  (0.1ms) BEGIN
2107
+  (0.5ms) ROLLBACK
2108
+  (0.1ms) BEGIN
2109
+  (0.3ms) ROLLBACK
2110
+  (0.1ms) BEGIN
2111
+  (40.8ms)  DROP TABLE IF EXISTS geoips_tempo;
2112
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2113
+ 
2114
+  (1.9ms) ALTER TABLE geoips RENAME TO tmp;
2115
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2116
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2117
+ DROP TABLE geoips_tempo;
2118
+
2119
+  (0.7ms) ROLLBACK
2120
+ Connecting to database specified by database.yml
2121
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2122
+ Migrating to CreateGeoips (1)
2123
+ Unable to load geoip, underlying cause No such file to load -- geoip
2124
+
2125
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2126
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2127
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2128
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2129
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2130
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2131
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2132
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2133
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2134
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2135
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2136
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2137
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2138
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2139
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2140
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2141
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2142
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2143
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2144
+  (0.1ms) BEGIN
2145
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
2146
+ Fixture Insert (2.1ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2147
+  (14.9ms) COMMIT
2148
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2149
+  (0.1ms) BEGIN
2150
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2151
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2152
+  (0.2ms) ROLLBACK
2153
+  (0.1ms) BEGIN
2154
+  (0.1ms) ROLLBACK
2155
+  (0.1ms) BEGIN
2156
+  (0.1ms) ROLLBACK
2157
+  (0.1ms) BEGIN
2158
+  (0.2ms) ROLLBACK
2159
+  (0.1ms) BEGIN
2160
+  (52.9ms) DROP TABLE IF EXISTS geoips_tempo;
2161
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2162
+
2163
+  (0.7ms) ROLLBACK
2164
+  (0.0ms) BEGIN
2165
+  (0.2ms) ROLLBACK
2166
+  (0.0ms) BEGIN
2167
+  (0.1ms) ROLLBACK
2168
+  (0.0ms) BEGIN
2169
+  (0.1ms) ROLLBACK
2170
+  (0.1ms) BEGIN
2171
+  (55.3ms)  DROP TABLE IF EXISTS geoips_tempo;
2172
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2173
+ 
2174
+  (1.8ms) ALTER TABLE geoips RENAME TO tmp;
2175
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2176
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2177
+ DROP TABLE geoips_tempo;
2178
+
2179
+  (0.6ms) ROLLBACK
2180
+ Connecting to database specified by database.yml
2181
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2182
+ Migrating to CreateGeoips (1)
2183
+ Unable to load geoip, underlying cause No such file to load -- geoip
2184
+
2185
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2186
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2187
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2188
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2189
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2190
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2191
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2192
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2193
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2194
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2195
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2196
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2197
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2198
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2199
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2200
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2201
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2202
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2203
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2204
+  (0.2ms) BEGIN
2205
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
2206
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2207
+  (26.8ms) COMMIT
2208
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2209
+  (0.2ms) BEGIN
2210
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2211
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2212
+  (0.2ms) ROLLBACK
2213
+  (0.1ms) BEGIN
2214
+  (0.1ms) ROLLBACK
2215
+  (0.1ms) BEGIN
2216
+  (0.1ms) ROLLBACK
2217
+  (0.1ms) BEGIN
2218
+  (0.2ms) ROLLBACK
2219
+  (0.1ms) BEGIN
2220
+  (58.5ms) DROP TABLE IF EXISTS geoips_tempo;
2221
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2222
+
2223
+  (1.3ms) ROLLBACK
2224
+  (0.0ms) BEGIN
2225
+  (0.2ms) ROLLBACK
2226
+  (0.0ms) BEGIN
2227
+  (0.3ms) ROLLBACK
2228
+  (0.0ms) BEGIN
2229
+  (0.1ms) ROLLBACK
2230
+  (0.0ms) BEGIN
2231
+  (56.7ms)  DROP TABLE IF EXISTS geoips_tempo;
2232
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2233
+ 
2234
+  (2.0ms) ALTER TABLE geoips RENAME TO tmp;
2235
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2236
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2237
+ DROP TABLE geoips_tempo;
2238
+
2239
+  (0.6ms) ROLLBACK
2240
+ Connecting to database specified by database.yml
2241
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2242
+ Migrating to CreateGeoips (1)
2243
+ Unable to load geoip, underlying cause No such file to load -- geoip
2244
+
2245
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2246
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2247
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2248
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2249
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2250
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2251
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2252
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2253
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2254
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2255
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2256
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2257
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2258
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2259
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2260
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2261
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2262
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2263
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2264
+  (0.1ms) BEGIN
2265
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
2266
+ Fixture Insert (0.4ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2267
+  (18.8ms) COMMIT
2268
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2269
+  (0.1ms) BEGIN
2270
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2271
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2272
+  (0.2ms) ROLLBACK
2273
+  (0.1ms) BEGIN
2274
+  (0.1ms) ROLLBACK
2275
+  (0.1ms) BEGIN
2276
+  (0.1ms) ROLLBACK
2277
+  (0.1ms) BEGIN
2278
+  (0.1ms) ROLLBACK
2279
+  (0.1ms) BEGIN
2280
+  (64.2ms) DROP TABLE IF EXISTS geoips_tempo;
2281
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2282
+
2283
+  (0.7ms) ROLLBACK
2284
+  (0.1ms) BEGIN
2285
+  (0.1ms) ROLLBACK
2286
+  (0.1ms) BEGIN
2287
+  (0.1ms) ROLLBACK
2288
+  (0.1ms) BEGIN
2289
+  (0.1ms) ROLLBACK
2290
+  (0.1ms) BEGIN
2291
+  (56.8ms)  DROP TABLE IF EXISTS geoips_tempo;
2292
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2293
+ 
2294
+  (1.7ms) ALTER TABLE geoips RENAME TO tmp;
2295
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2296
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2297
+ DROP TABLE geoips_tempo;
2298
+
2299
+  (0.6ms) ROLLBACK
2300
+ Connecting to database specified by database.yml
2301
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2302
+ Migrating to CreateGeoips (1)
2303
+ Unable to load geoip, underlying cause No such file to load -- geoip
2304
+
2305
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2306
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2307
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2308
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2309
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2310
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2311
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2312
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2313
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2314
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2315
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2316
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2317
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2318
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2319
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2320
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2321
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2322
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2323
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2324
+  (0.2ms) BEGIN
2325
+ Fixture Delete (0.7ms) DELETE FROM "geoips"
2326
+ Fixture Insert (0.6ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2327
+  (20.8ms) COMMIT
2328
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2329
+  (0.1ms) BEGIN
2330
+ IpToCountry::Geoip Load (1.5ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2331
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2332
+  (0.2ms) ROLLBACK
2333
+  (0.1ms) BEGIN
2334
+  (0.2ms) ROLLBACK
2335
+  (0.1ms) BEGIN
2336
+  (0.1ms) ROLLBACK
2337
+  (0.1ms) BEGIN
2338
+  (0.2ms) ROLLBACK
2339
+  (0.1ms) BEGIN
2340
+  (50.8ms) DROP TABLE IF EXISTS geoips_tempo;
2341
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2342
+
2343
+  (0.6ms) ROLLBACK
2344
+  (0.1ms) BEGIN
2345
+  (0.1ms) ROLLBACK
2346
+  (0.1ms) BEGIN
2347
+  (0.1ms) ROLLBACK
2348
+  (0.1ms) BEGIN
2349
+  (0.1ms) ROLLBACK
2350
+  (0.1ms) BEGIN
2351
+  (88.7ms)  DROP TABLE IF EXISTS geoips_tempo;
2352
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2353
+ 
2354
+  (2.0ms) ALTER TABLE geoips RENAME TO tmp;
2355
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2356
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2357
+ DROP TABLE geoips_tempo;
2358
+
2359
+  (0.7ms) ROLLBACK
2360
+ Connecting to database specified by database.yml
2361
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2362
+ Migrating to CreateGeoips (1)
2363
+ Unable to load geoip, underlying cause No such file to load -- geoip
2364
+
2365
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2366
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2367
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2368
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2369
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2370
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2371
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2372
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2373
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2374
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2375
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2376
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2377
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2378
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2379
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2380
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2381
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2382
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2383
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2384
+  (0.1ms) BEGIN
2385
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
2386
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2387
+  (25.3ms) COMMIT
2388
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2389
+  (0.1ms) BEGIN
2390
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2391
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2392
+  (0.2ms) ROLLBACK
2393
+  (0.1ms) BEGIN
2394
+  (0.1ms) ROLLBACK
2395
+  (0.1ms) BEGIN
2396
+  (0.1ms) ROLLBACK
2397
+  (0.1ms) BEGIN
2398
+  (0.1ms) ROLLBACK
2399
+  (0.1ms) BEGIN
2400
+  (40.7ms) DROP TABLE IF EXISTS geoips_tempo;
2401
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2402
+
2403
+  (0.8ms) ROLLBACK
2404
+  (0.1ms) BEGIN
2405
+  (0.2ms) ROLLBACK
2406
+  (0.1ms) BEGIN
2407
+  (0.4ms) ROLLBACK
2408
+  (0.1ms) BEGIN
2409
+  (0.1ms) ROLLBACK
2410
+  (0.1ms) BEGIN
2411
+  (54.8ms)  DROP TABLE IF EXISTS geoips_tempo;
2412
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2413
+ 
2414
+  (1.8ms) ALTER TABLE geoips RENAME TO tmp;
2415
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2416
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2417
+ DROP TABLE geoips_tempo;
2418
+
2419
+  (0.7ms) ROLLBACK
2420
+ Connecting to database specified by database.yml
2421
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2422
+ Migrating to CreateGeoips (1)
2423
+ Unable to load geoip, underlying cause No such file to load -- geoip
2424
+
2425
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2426
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2427
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2428
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2429
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2430
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2431
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2432
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2433
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2434
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2435
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2436
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2437
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2438
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2439
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2440
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2441
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2442
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2443
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2444
+  (0.2ms) BEGIN
2445
+ Fixture Delete (0.7ms) DELETE FROM "geoips"
2446
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2447
+  (22.6ms) COMMIT
2448
+  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2449
+  (0.1ms) BEGIN
2450
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2451
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2452
+  (0.2ms) ROLLBACK
2453
+  (0.1ms) BEGIN
2454
+  (0.1ms) ROLLBACK
2455
+  (0.1ms) BEGIN
2456
+  (0.1ms) ROLLBACK
2457
+  (0.1ms) BEGIN
2458
+  (0.1ms) ROLLBACK
2459
+  (0.1ms) BEGIN
2460
+  (46.8ms) DROP TABLE IF EXISTS geoips_tempo;
2461
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2462
+
2463
+  (0.7ms) ROLLBACK
2464
+  (0.1ms) BEGIN
2465
+  (0.2ms) ROLLBACK
2466
+  (0.1ms) BEGIN
2467
+  (0.1ms) ROLLBACK
2468
+  (0.1ms) BEGIN
2469
+  (0.1ms) ROLLBACK
2470
+  (0.1ms) BEGIN
2471
+  (40.4ms)  DROP TABLE IF EXISTS geoips_tempo;
2472
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2473
+ 
2474
+  (1.9ms) ALTER TABLE geoips RENAME TO tmp;
2475
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2476
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2477
+ DROP TABLE geoips_tempo;
2478
+
2479
+  (0.8ms) ROLLBACK
2480
+ Connecting to database specified by database.yml
2481
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2482
+ Migrating to CreateGeoips (1)
2483
+ Unable to load geoip, underlying cause No such file to load -- geoip
2484
+
2485
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2486
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2487
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2488
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2489
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2490
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2491
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2492
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2493
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2494
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2495
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2496
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2497
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2498
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2499
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2500
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2501
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2502
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2503
+  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2504
+  (0.4ms) BEGIN
2505
+ Fixture Delete (0.9ms) DELETE FROM "geoips"
2506
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2507
+  (15.3ms) COMMIT
2508
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2509
+  (0.1ms) BEGIN
2510
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2511
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2512
+  (0.2ms) ROLLBACK
2513
+  (0.1ms) BEGIN
2514
+  (0.1ms) ROLLBACK
2515
+  (0.1ms) BEGIN
2516
+  (0.1ms) ROLLBACK
2517
+  (0.1ms) BEGIN
2518
+  (0.1ms) ROLLBACK
2519
+  (0.1ms) BEGIN
2520
+  (24.2ms) DROP TABLE IF EXISTS geoips_tempo;
2521
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2522
+
2523
+  (1.1ms) ROLLBACK
2524
+  (0.1ms) BEGIN
2525
+  (0.5ms) ROLLBACK
2526
+  (0.1ms) BEGIN
2527
+  (0.2ms) ROLLBACK
2528
+  (0.1ms) BEGIN
2529
+  (0.2ms) ROLLBACK
2530
+  (0.1ms) BEGIN
2531
+  (50.3ms)  DROP TABLE IF EXISTS geoips_tempo;
2532
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2533
+ 
2534
+  (2.2ms) ALTER TABLE geoips RENAME TO tmp;
2535
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2536
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2537
+ DROP TABLE geoips_tempo;
2538
+
2539
+  (1.2ms) ROLLBACK
2540
+ Connecting to database specified by database.yml
2541
+  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2542
+ Migrating to CreateGeoips (1)
2543
+ Unable to load geoip, underlying cause No such file to load -- geoip
2544
+
2545
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2546
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2547
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2548
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2549
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2550
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2551
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2552
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2553
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2554
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2555
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2556
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2557
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2558
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2559
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2560
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2561
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2562
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2563
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2564
+  (0.2ms) BEGIN
2565
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
2566
+ Fixture Insert (0.9ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2567
+  (17.9ms) COMMIT
2568
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2569
+  (0.1ms) BEGIN
2570
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2571
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2572
+  (0.2ms) ROLLBACK
2573
+  (0.1ms) BEGIN
2574
+  (0.1ms) ROLLBACK
2575
+  (0.1ms) BEGIN
2576
+  (0.1ms) ROLLBACK
2577
+  (0.1ms) BEGIN
2578
+  (0.1ms) ROLLBACK
2579
+  (0.1ms) BEGIN
2580
+  (40.3ms) DROP TABLE IF EXISTS geoips_tempo;
2581
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2582
+
2583
+  (0.7ms) ROLLBACK
2584
+  (0.1ms) BEGIN
2585
+  (0.2ms) ROLLBACK
2586
+  (0.1ms) BEGIN
2587
+  (1.5ms) ROLLBACK
2588
+  (0.2ms) BEGIN
2589
+  (0.2ms) ROLLBACK
2590
+  (0.1ms) BEGIN
2591
+  (60.5ms)  DROP TABLE IF EXISTS geoips_tempo;
2592
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2593
+ 
2594
+  (1.9ms) ALTER TABLE geoips RENAME TO tmp;
2595
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2596
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2597
+ DROP TABLE geoips_tempo;
2598
+
2599
+  (0.6ms) ROLLBACK
2600
+ Connecting to database specified by database.yml
2601
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2602
+ Migrating to CreateGeoips (1)
2603
+ Unable to load geoip, underlying cause No such file to load -- geoip
2604
+
2605
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2606
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2607
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2608
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2609
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2610
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2611
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2612
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2613
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2614
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2615
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2616
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2617
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2618
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2619
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2620
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2621
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2622
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2623
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2624
+  (0.1ms) BEGIN
2625
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
2626
+ Fixture Insert (0.6ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2627
+  (21.4ms) COMMIT
2628
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2629
+  (0.2ms) BEGIN
2630
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2631
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2632
+  (0.2ms) ROLLBACK
2633
+  (0.1ms) BEGIN
2634
+  (0.1ms) ROLLBACK
2635
+  (0.1ms) BEGIN
2636
+  (0.1ms) ROLLBACK
2637
+  (0.1ms) BEGIN
2638
+  (0.2ms) ROLLBACK
2639
+  (0.1ms) BEGIN
2640
+  (47.4ms) DROP TABLE IF EXISTS geoips_tempo;
2641
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2642
+
2643
+  (0.7ms) ROLLBACK
2644
+  (0.1ms) BEGIN
2645
+  (0.3ms) ROLLBACK
2646
+  (0.1ms) BEGIN
2647
+  (0.1ms) ROLLBACK
2648
+  (0.0ms) BEGIN
2649
+  (0.3ms) ROLLBACK
2650
+  (0.1ms) BEGIN
2651
+  (49.8ms)  DROP TABLE IF EXISTS geoips_tempo;
2652
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2653
+ 
2654
+  (2.1ms) ALTER TABLE geoips RENAME TO tmp;
2655
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2656
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2657
+ DROP TABLE geoips_tempo;
2658
+
2659
+  (0.7ms) ROLLBACK
2660
+ Connecting to database specified by database.yml
2661
+  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2662
+ Migrating to CreateGeoips (1)
2663
+ Unable to load geoip, underlying cause No such file to load -- geoip
2664
+
2665
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2666
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2667
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2668
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2669
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2670
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2671
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2672
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2673
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2674
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2675
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2676
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2677
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2678
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2679
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2680
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2681
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2682
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2683
+ Connecting to database specified by database.yml
2684
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2685
+ Migrating to CreateGeoips (1)
2686
+ Unable to load geoip, underlying cause No such file to load -- geoip
2687
+
2688
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2689
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2690
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2691
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2692
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2693
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2694
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2695
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2696
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2697
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2698
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2699
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2700
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2701
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2702
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2703
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2704
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2705
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2706
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2707
+  (0.1ms) BEGIN
2708
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
2709
+ Fixture Insert (0.9ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2710
+  (20.3ms) COMMIT
2711
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2712
+  (0.2ms) BEGIN
2713
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2714
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2715
+  (0.2ms) ROLLBACK
2716
+  (0.1ms) BEGIN
2717
+  (0.1ms) ROLLBACK
2718
+  (0.1ms) BEGIN
2719
+  (0.1ms) ROLLBACK
2720
+  (0.1ms) BEGIN
2721
+  (0.1ms) ROLLBACK
2722
+  (0.1ms) BEGIN
2723
+  (36.6ms) DROP TABLE IF EXISTS geoips_tempo;
2724
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2725
+
2726
+  (0.8ms) ROLLBACK
2727
+  (0.1ms) BEGIN
2728
+  (0.1ms) ROLLBACK
2729
+  (0.1ms) BEGIN
2730
+  (0.1ms) ROLLBACK
2731
+  (0.1ms) BEGIN
2732
+  (0.1ms) ROLLBACK
2733
+  (0.1ms) BEGIN
2734
+  (35.1ms)  DROP TABLE IF EXISTS geoips_tempo;
2735
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2736
+ 
2737
+  (2.2ms) ALTER TABLE geoips RENAME TO tmp;
2738
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2739
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2740
+ DROP TABLE geoips_tempo;
2741
+
2742
+  (0.8ms) ROLLBACK
2743
+ Connecting to database specified by database.yml
2744
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2745
+ Migrating to CreateGeoips (1)
2746
+ Unable to load geoip, underlying cause No such file to load -- geoip
2747
+
2748
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2749
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2750
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2751
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2752
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2753
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2754
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2755
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2756
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2757
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2758
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2759
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2760
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2761
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2762
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2763
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2764
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2765
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2766
+  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2767
+  (0.2ms) BEGIN
2768
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
2769
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2770
+  (23.3ms) COMMIT
2771
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2772
+  (0.1ms) BEGIN
2773
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2774
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2775
+  (0.2ms) ROLLBACK
2776
+  (0.1ms) BEGIN
2777
+  (0.1ms) ROLLBACK
2778
+  (0.1ms) BEGIN
2779
+  (0.1ms) ROLLBACK
2780
+  (0.1ms) BEGIN
2781
+  (0.2ms) ROLLBACK
2782
+  (0.1ms) BEGIN
2783
+  (62.1ms) DROP TABLE IF EXISTS geoips_tempo;
2784
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2785
+
2786
+  (0.6ms) ROLLBACK
2787
+  (0.1ms) BEGIN
2788
+  (0.1ms) ROLLBACK
2789
+  (0.1ms) BEGIN
2790
+  (0.1ms) ROLLBACK
2791
+  (0.1ms) BEGIN
2792
+  (0.1ms) ROLLBACK
2793
+  (0.1ms) BEGIN
2794
+  (69.1ms)  DROP TABLE IF EXISTS geoips_tempo;
2795
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2796
+ 
2797
+  (1.9ms) ALTER TABLE geoips RENAME TO tmp;
2798
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2799
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2800
+ DROP TABLE geoips_tempo;
2801
+
2802
+  (0.7ms) ROLLBACK
2803
+ Connecting to database specified by database.yml
2804
+  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2805
+ Migrating to CreateGeoips (1)
2806
+ Unable to load geoip, underlying cause No such file to load -- geoip
2807
+
2808
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2809
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2810
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2811
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2812
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2813
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2814
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2815
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2816
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2817
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2818
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2819
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2820
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2821
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2822
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2823
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2824
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2825
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2826
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2827
+  (0.2ms) BEGIN
2828
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
2829
+ Fixture Insert (0.6ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2830
+  (21.0ms) COMMIT
2831
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2832
+  (0.2ms) BEGIN
2833
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2834
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2835
+  (0.2ms) ROLLBACK
2836
+  (0.1ms) BEGIN
2837
+  (0.1ms) ROLLBACK
2838
+  (0.1ms) BEGIN
2839
+  (0.1ms) ROLLBACK
2840
+  (0.1ms) BEGIN
2841
+  (0.1ms) ROLLBACK
2842
+  (0.1ms) BEGIN
2843
+  (45.2ms) DROP TABLE IF EXISTS geoips_tempo;
2844
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2845
+
2846
+  (0.7ms) ROLLBACK
2847
+  (0.1ms) BEGIN
2848
+  (0.4ms) ROLLBACK
2849
+  (0.1ms) BEGIN
2850
+  (0.1ms) ROLLBACK
2851
+  (0.1ms) BEGIN
2852
+  (0.2ms) ROLLBACK
2853
+  (0.1ms) BEGIN
2854
+  (53.0ms)  DROP TABLE IF EXISTS geoips_tempo;
2855
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2856
+ 
2857
+  (1.8ms) ALTER TABLE geoips RENAME TO tmp;
2858
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2859
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2860
+ DROP TABLE geoips_tempo;
2861
+
2862
+  (0.9ms) ROLLBACK
2863
+ Connecting to database specified by database.yml
2864
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2865
+ Migrating to CreateGeoips (1)
2866
+ Unable to load geoip, underlying cause No such file to load -- geoip
2867
+
2868
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2869
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2870
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2871
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2872
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2873
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2874
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2875
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2876
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2877
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2878
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2879
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2880
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2881
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2882
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2883
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2884
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2885
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2886
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2887
+  (0.1ms) BEGIN
2888
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
2889
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2890
+  (20.4ms) COMMIT
2891
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2892
+  (0.1ms) BEGIN
2893
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2894
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2895
+  (0.2ms) ROLLBACK
2896
+  (0.1ms) BEGIN
2897
+  (0.1ms) ROLLBACK
2898
+  (0.1ms) BEGIN
2899
+  (0.1ms) ROLLBACK
2900
+  (0.1ms) BEGIN
2901
+  (0.1ms) ROLLBACK
2902
+  (0.1ms) BEGIN
2903
+  (53.8ms) DROP TABLE IF EXISTS geoips_tempo;
2904
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2905
+
2906
+  (0.8ms) ROLLBACK
2907
+  (0.1ms) BEGIN
2908
+  (0.2ms) ROLLBACK
2909
+  (0.1ms) BEGIN
2910
+  (0.2ms) ROLLBACK
2911
+  (0.1ms) BEGIN
2912
+  (0.2ms) ROLLBACK
2913
+  (0.1ms) BEGIN
2914
+  (53.2ms)  DROP TABLE IF EXISTS geoips_tempo;
2915
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2916
+ 
2917
+  (1.7ms) ALTER TABLE geoips RENAME TO tmp;
2918
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2919
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2920
+ DROP TABLE geoips_tempo;
2921
+
2922
+  (0.7ms) ROLLBACK
2923
+ Connecting to database specified by database.yml
2924
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2925
+ Migrating to CreateGeoips (1)
2926
+ Unable to load geoip, underlying cause No such file to load -- geoip
2927
+
2928
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2929
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2930
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2931
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2932
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2933
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2934
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
2935
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
2936
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
2937
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
2938
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
2939
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
2940
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
2941
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
2942
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
2943
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
2944
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
2945
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
2946
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
2947
+  (0.2ms) BEGIN
2948
+ Fixture Delete (0.6ms) DELETE FROM "geoips"
2949
+ Fixture Insert (0.4ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
2950
+  (21.1ms) COMMIT
2951
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
2952
+  (0.1ms) BEGIN
2953
+ IpToCountry::Geoip Load (1.3ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
2954
+ from geoips where ip_to >= 3232235778)) LIMIT 1
2955
+  (0.2ms) ROLLBACK
2956
+  (0.1ms) BEGIN
2957
+  (0.1ms) ROLLBACK
2958
+  (0.1ms) BEGIN
2959
+  (0.1ms) ROLLBACK
2960
+  (0.1ms) BEGIN
2961
+  (0.1ms) ROLLBACK
2962
+  (0.1ms) BEGIN
2963
+  (69.5ms) DROP TABLE IF EXISTS geoips_tempo;
2964
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2965
+
2966
+  (0.6ms) ROLLBACK
2967
+  (0.1ms) BEGIN
2968
+  (0.1ms) ROLLBACK
2969
+  (0.1ms) BEGIN
2970
+  (61.6ms)  DROP TABLE IF EXISTS geoips_tempo;
2971
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2972
+ 
2973
+ IpToCountry::Geoip Load (0.8ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 35037184) and ip_to = (select min(ip_to)
2974
+ from geoips where ip_to >= 35037184)) LIMIT 1
2975
+  (0.7ms) ROLLBACK
2976
+  (0.1ms) BEGIN
2977
+  (0.1ms) ROLLBACK
2978
+  (0.1ms) BEGIN
2979
+  (39.8ms)  DROP TABLE IF EXISTS geoips_tempo;
2980
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
2981
+ 
2982
+  (1.9ms) ALTER TABLE geoips RENAME TO tmp;
2983
+ ALTER TABLE geoips_tempo RENAME TO geoips;
2984
+ ALTER TABLE tmp RENAME TO geoips_tempo;
2985
+ DROP TABLE geoips_tempo;
2986
+
2987
+  (0.7ms) ROLLBACK
2988
+ Connecting to database specified by database.yml
2989
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2990
+ Migrating to CreateGeoips (1)
2991
+ Unable to load geoip, underlying cause No such file to load -- geoip
2992
+
2993
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
2994
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
2995
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
2996
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
2997
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
2998
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
2999
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
3000
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
3001
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
3002
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
3003
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
3004
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
3005
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
3006
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
3007
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
3008
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
3009
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
3010
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
3011
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
3012
+  (0.1ms) BEGIN
3013
+ Fixture Delete (0.4ms) DELETE FROM "geoips"
3014
+ Fixture Insert (0.5ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
3015
+  (5.0ms) COMMIT
3016
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
3017
+  (0.1ms) BEGIN
3018
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
3019
+ from geoips where ip_to >= 3232235778)) LIMIT 1
3020
+  (0.2ms) ROLLBACK
3021
+  (0.1ms) BEGIN
3022
+  (0.1ms) ROLLBACK
3023
+  (0.1ms) BEGIN
3024
+  (0.1ms) ROLLBACK
3025
+  (0.1ms) BEGIN
3026
+  (0.2ms) ROLLBACK
3027
+  (0.1ms) BEGIN
3028
+  (40.3ms) DROP TABLE IF EXISTS geoips_tempo;
3029
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
3030
+
3031
+  (0.7ms) ROLLBACK
3032
+  (0.1ms) BEGIN
3033
+  (0.2ms) ROLLBACK
3034
+  (0.1ms) BEGIN
3035
+  (38.7ms)  DROP TABLE IF EXISTS geoips_tempo;
3036
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
3037
+ 
3038
+  (1.7ms) ALTER TABLE geoips RENAME TO tmp;
3039
+ ALTER TABLE geoips_tempo RENAME TO geoips;
3040
+ ALTER TABLE tmp RENAME TO geoips_tempo;
3041
+ DROP TABLE geoips_tempo;
3042
+
3043
+ IpToCountry::Geoip Load (1.1ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 35037184) and ip_to = (select min(ip_to)
3044
+ from geoips where ip_to >= 35037184)) LIMIT 1
3045
+  (0.8ms) ROLLBACK
3046
+  (0.1ms) BEGIN
3047
+  (0.2ms) ROLLBACK
3048
+  (0.1ms) BEGIN
3049
+  (26.5ms) DROP TABLE IF EXISTS geoips_tempo;
3050
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
3051
+
3052
+  (2.4ms)  ALTER TABLE geoips RENAME TO tmp;
3053
+ ALTER TABLE geoips_tempo RENAME TO geoips;
3054
+ ALTER TABLE tmp RENAME TO geoips_tempo;
3055
+ DROP TABLE geoips_tempo;
3056
+ 
3057
+  (1.1ms) ROLLBACK
3058
+ Connecting to database specified by database.yml
3059
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3060
+ Migrating to CreateGeoips (1)
3061
+ Unable to load geoip, underlying cause No such file to load -- geoip
3062
+
3063
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in `rescue in depend_on'
3064
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in `depend_on'
3065
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency'
3066
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:767:in `try_to_load_dependency'
3067
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes'
3068
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `each'
3069
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:779:in `require_fixture_classes'
3070
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:762:in `fixtures'
3071
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:27:in `<class:TestCase>'
3072
+ /home/vince/Projets/ip_to_country/test/test_helper.rb:24:in `<top (required)>'
3073
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `require'
3074
+ /home/vince/Projets/ip_to_country/test/geoip_test.rb:2:in `<top (required)>'
3075
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
3076
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
3077
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
3078
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
3079
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
3080
+ /home/vince/.rvm/gems/ruby-1.9.3-head/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `<main>'
3081
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "geoips" DISABLE TRIGGER ALL
3082
+  (0.2ms) BEGIN
3083
+ Fixture Delete (0.5ms) DELETE FROM "geoips"
3084
+ Fixture Insert (0.6ms) INSERT INTO "geoips" ("ip_from_string", "ip_to_string", "ip_from", "ip_to", "country_code", "country_name") VALUES ('192.168.1.1', '192.168.1.20', 3232235777, 3232235794, 'wd', 'wonderland')
3085
+  (18.7ms) COMMIT
3086
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "geoips" ENABLE TRIGGER ALL
3087
+  (0.1ms) BEGIN
3088
+ IpToCountry::Geoip Load (1.2ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 3232235778) and ip_to = (select min(ip_to)
3089
+ from geoips where ip_to >= 3232235778)) LIMIT 1
3090
+  (0.2ms) ROLLBACK
3091
+  (0.1ms) BEGIN
3092
+  (0.1ms) ROLLBACK
3093
+  (0.1ms) BEGIN
3094
+  (0.1ms) ROLLBACK
3095
+  (0.1ms) BEGIN
3096
+  (0.1ms) ROLLBACK
3097
+  (0.1ms) BEGIN
3098
+  (41.3ms) DROP TABLE IF EXISTS geoips_tempo;
3099
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
3100
+
3101
+  (0.7ms) ROLLBACK
3102
+  (0.1ms) BEGIN
3103
+  (0.3ms) ROLLBACK
3104
+  (0.1ms) BEGIN
3105
+  (59.0ms)  DROP TABLE IF EXISTS geoips_tempo;
3106
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
3107
+ 
3108
+  (2.6ms) ALTER TABLE geoips RENAME TO tmp;
3109
+ ALTER TABLE geoips_tempo RENAME TO geoips;
3110
+ ALTER TABLE tmp RENAME TO geoips_tempo;
3111
+ DROP TABLE geoips_tempo;
3112
+
3113
+ IpToCountry::Geoip Load (1.0ms) SELECT "geoips".* FROM "geoips" WHERE (ip_from = (select max(ip_from) from geoips where ip_from <= 35037184) and ip_to = (select min(ip_to)
3114
+ from geoips where ip_to >= 35037184)) LIMIT 1
3115
+  (0.9ms) ROLLBACK
3116
+  (0.1ms) BEGIN
3117
+  (0.1ms) ROLLBACK
3118
+  (0.1ms) BEGIN
3119
+  (24.8ms) DROP TABLE IF EXISTS geoips_tempo;
3120
+ CREATE TABLE geoips_tempo AS SELECT * FROM geoips WHERE ip_from = -1;
3121
+
3122
+  (1.5ms)  ALTER TABLE geoips RENAME TO tmp;
3123
+ ALTER TABLE geoips_tempo RENAME TO geoips;
3124
+ ALTER TABLE tmp RENAME TO geoips_tempo;
3125
+ DROP TABLE geoips_tempo;
3126
+ 
3127
+  (1.0ms) ROLLBACK