From f833e213596b0bcfad8264a555eb5093303fb5f2 Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Thu, 25 Sep 2025 12:26:39 +0200 Subject: [PATCH] Add ruby_version_dir_name support for RDoc. --- lib/rdoc/ri/paths.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rdoc/ri/paths.rb b/lib/rdoc/ri/paths.rb index 8e89b04e..731f9e36 100644 --- a/lib/rdoc/ri/paths.rb +++ b/lib/rdoc/ri/paths.rb @@ -10,7 +10,7 @@ module RDoc::RI::Paths #:stopdoc: require 'rbconfig' - version = RbConfig::CONFIG['ruby_version'] + version = RbConfig::CONFIG['ruby_version_dir_name'] || RbConfig::CONFIG['ruby_version'] BASE = File.join RbConfig::CONFIG['ridir'], version