world-o-techno/gps/gps.rb
2015-08-02 20:34:51 +00:00

21 lines
No EOL
357 B
Ruby

$:.unshift File.dirname(__FILE__)
module Gps
end
begin
require "rubygems"
rescue LoadError
end
if Object.const_defined?("Gem")
begin
require "gem_plugin"
rescue LoadError
end
end
require "gps/fix"
require "gps/receiver"
require "gps/receivers/gpsd"
GemPlugin::Manager.instance.load "gps" => GemPlugin::INCLUDE if Object.const_defined?("GemPlugin")