diff --git a/lib/rgeo-activerecord.rb b/lib/rgeo-activerecord.rb index 1c26319..0555a3f 100644 --- a/lib/rgeo-activerecord.rb +++ b/lib/rgeo-activerecord.rb @@ -1,3 +1,3 @@ # frozen_string_literal: true -require "rgeo/active_record" +require_relative "rgeo/active_record" diff --git a/lib/rgeo/active_record.rb b/lib/rgeo/active_record.rb index c80f40b..86d001e 100644 --- a/lib/rgeo/active_record.rb +++ b/lib/rgeo/active_record.rb @@ -2,9 +2,10 @@ require "rgeo" require "active_record" -require "rgeo/active_record/version" -require "rgeo/active_record/spatial_expressions" -require "rgeo/active_record/spatial_factory_store" -require "rgeo/active_record/arel_spatial_queries" -require "rgeo/active_record/common_adapter_elements" -require "rgeo/active_record/geometry_mixin" + +require_relative "active_record/version" +require_relative "active_record/spatial_expressions" +require_relative "active_record/spatial_factory_store" +require_relative "active_record/arel_spatial_queries" +require_relative "active_record/common_adapter_elements" +require_relative "active_record/geometry_mixin"