summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2026-02-03 11:06:09 +0900
committerNobuyoshi Nakada <nobu.nakada@gmail.com>2026-02-06 20:44:20 +0900
commitc40fbe388a28de6329392f97cdeb82f8a33ef7a0 (patch)
treed4a6a1cae05ed264783fa73e7117502bba409e4b
parentcda16da6e163c592b7150d2360c7a47f568ef873 (diff)
[DOC] Exclude `require` in RubyGems not to override the original
Fix ruby/rdoc#1592.
-rw-r--r--common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index f7061f8975..9506869b72 100644
--- a/common.mk
+++ b/common.mk
@@ -75,6 +75,7 @@ HTMLOUT = $(EXTOUT)/html
CAPIOUT = doc/capi
INSTALL_DOC_OPTS = --rdoc-output="$(RDOCOUT)" --html-output="$(HTMLOUT)"
RDOC_GEN_OPTS = --no-force-update \
+ --exclude '^lib/rubygems/core_ext/kernel_require\.rb$$' \
$(empty)
INITOBJS = dmyext.$(OBJEXT) dmyenc.$(OBJEXT)