lib/fusuma/plugin/manager.rb in fusuma-1.1 vs lib/fusuma/plugin/manager.rb in fusuma-1.2

- old
+ new

@@ -11,10 +11,10 @@ @plugin_class = plugin_class end def require_siblings_from_local search_key = File.join('../../', plugin_dir_name, '*.rb') - Pathname.new(__dir__).glob(search_key).each do |siblings_plugin| + Dir.glob(File.expand_path("#{__dir__}/#{search_key}")).each do |siblings_plugin| require siblings_plugin end end def require_siblings_from_gems