From fbefe3550cec6d609ef1dc97ea4c48f73447cee4 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 7 Feb 2019 18:40:35 +0000 Subject: [PATCH] Always look to the global scope for the GPX module --- app/models/trace.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2