def index_repos_slow(base)
      STDERR.puts "WARNING: pro is indexing slowly, please install the 'find' command."
      repos = []
      Find.find(base) do |path|
        target = path
        # additionally, index repos symlinked directly from a base root
        if FileTest.symlink?(path)
          next if File.dirname(path) != base
          target = File.readlink(path)
        end
        # dir must exist and be a git repo
        if FileTest.directory?(target) && File.exists?(path+"/.git")
          base_name = File.basename(path)
          repos << Repo.new(base_name,path)
          Find.prune
        end
      end
      repos
    end
def index_repos_slow(base)
      STDERR.puts "WARNING: pro is indexing slowly, please install the 'find' command."
      repos = []
      Find.find(base) do |path|
        target = path
        # additionally, index repos symlinked directly from a base root
        if FileTest.symlink?(path)
          next if File.dirname(path) != base
          target = File.readlink(path)
        end
        # dir must exist and be a git repo
        if FileTest.directory?(target) && File.exists?(path+"/.git")
          base_name = File.basename(path)
          repos << Repo.new(base_name,path)
          Find.prune
        end
      end
      repos
    end
recursive walk in ruby