    # File lib/chef/knife/core/subcommand_loader.rb, line 88
          def find_subcommands_via_rubygems
            files = Gem.find_files 'chef/knife/*.rb'
            files.reject! {|f| from_old_gem?(f) }
            subcommand_files = {}
            files.each do |file|
              rel_path = file[/(#{Regexp.escape File.join('chef', 'knife', '')}.*)\.rb/, 1]
              subcommand_files[rel_path] = file
            end

            subcommand_files.merge(find_subcommands_via_dirglob)
          end