From 59edcdd45af68020abade5faae1b27034d6bd8eb Mon Sep 17 00:00:00 2001 From: MoisesMachado Date: Fri, 11 Apr 2008 12:28:05 +0000 Subject: [PATCH] ActionItem261: fixed some dependencies on the environment --- vendor/plugins/geokit/init.rb | 1 + vendor/plugins/geokit/test/test_helper.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vendor/plugins/geokit/init.rb b/vendor/plugins/geokit/init.rb index d36503e..4512dd7 100644 --- a/vendor/plugins/geokit/init.rb +++ b/vendor/plugins/geokit/init.rb @@ -5,6 +5,7 @@ require 'geo_kit/defaults' require 'geo_kit/mappable' require 'geo_kit/acts_as_mappable' require 'geo_kit/ip_geocode_lookup' +require 'geo_kit/sqlite_extension' # Automatically mix in distance finder support into ActiveRecord classes. ActiveRecord::Base.send :include, GeoKit::ActsAsMappable diff --git a/vendor/plugins/geokit/test/test_helper.rb b/vendor/plugins/geokit/test/test_helper.rb index 22dfb66..4f1d742 100644 --- a/vendor/plugins/geokit/test/test_helper.rb +++ b/vendor/plugins/geokit/test/test_helper.rb @@ -17,4 +17,4 @@ load(File.join(plugin_test_dir, 'schema.rb')) # Load fixtures from the plugin Test::Unit::TestCase.fixture_path = File.join(plugin_test_dir, 'fixtures/') -require File.join(plugin_test_dir, '../../../../lib/sqlite_extension') +require File.join(plugin_test_dir, '..', 'lib', 'geo_kit', 'sqlite_extension') -- libgit2 0.21.2