YUKI Hiroshi
null+****@clear*****
Thu Feb 13 15:59:16 JST 2014
YUKI Hiroshi 2014-02-13 15:59:16 +0900 (Thu, 13 Feb 2014) New Revision: 34b29dc45700ac9cf20c82b7e1fcf3c5c6f1c78f https://github.com/droonga/fluent-plugin-droonga/commit/34b29dc45700ac9cf20c82b7e1fcf3c5c6f1c78f Message: Report load paths in debug level Modified files: lib/droonga/plugin_loader.rb Modified: lib/droonga/plugin_loader.rb (+3 -1) =================================================================== --- lib/droonga/plugin_loader.rb 2014-02-13 15:54:11 +0900 (e9070e9) +++ lib/droonga/plugin_loader.rb 2014-02-13 15:59:16 +0900 (fd3f047) @@ -25,7 +25,9 @@ module Droonga loading = nil begin $LOAD_PATH.each do |load_path| - Dir.glob("#{load_path}/droonga/plugin/*") do |type_path| + pattern = "#{load_path}/droonga/plugin/*" + $log.debug("#{self.name}: finding plugins at #{pattern}") + Dir.glob(pattern) do |type_path| next unless File.directory?(type_path) type = File.basename(type_path) Dir.glob("#{type_path}/*.rb") do |path| -------------- next part -------------- HTML����������������������������...Download