From 5840b4363f41955d114f8840f9b30d105f8b0922 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 9 Oct 2024 10:05:19 +0900 Subject: [PATCH] [DOC] Use the recent RDoc always to generate the doc of ruby itself --- tool/rdoc-srcdir | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/rdoc-srcdir b/tool/rdoc-srcdir index 304deb67ce..03e5171650 100755 --- a/tool/rdoc-srcdir +++ b/tool/rdoc-srcdir @@ -1,5 +1,6 @@ -#!ruby +#!ruby -W0 +$:.unshift(File.expand_path("../lib", __dir__)) require 'rdoc/rdoc' # Make only the output directory relative to the invoked directory.