From: Tom Hughes Date: Thu, 7 Feb 2019 18:40:35 +0000 (+0000) Subject: Always look to the global scope for the GPX module X-Git-Tag: live~3295 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/fbefe3550cec6d609ef1dc97ea4c48f73447cee4?ds=sidebyside Always look to the global scope for the GPX module --- diff --git a/app/models/trace.rb b/app/models/trace.rb index 1d0b11d43..d2c715245 100644 --- a/app/models/trace.rb +++ b/app/models/trace.rb @@ -280,7 +280,7 @@ class Trace < ActiveRecord::Base def import logger.info("GPX Import importing #{name} (#{id}) from #{user.email}") - gpx = GPX::File.new(xml_file) + gpx = ::GPX::File.new(xml_file) f_lat = 0 f_lon = 0