tools/lib/spatial_adapter/test/common/common_postgis.rb in GeoRuby-1.3.2 vs tools/lib/spatial_adapter/test/common/common_postgis.rb in GeoRuby-1.3.3
- old
+ new
@@ -1,8 +1,8 @@
$:.unshift(File.dirname(__FILE__) + '/../../lib')
require 'rubygems'
-require_gem 'activerecord'
+require 'activerecord'
ActiveRecord::Base.establish_connection(YAML.load_file(File.dirname(__FILE__) + '/../db/database_postgis.yml'))
require File.dirname(__FILE__) + '/../../init.rb'