From edb252301847b1eb2da61cc7b72eb21eb97d464e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 15 Dec 2023 19:26:46 +0900 Subject: [PATCH] Require fileutils before using it --- lib/rdoc.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rdoc.rb b/lib/rdoc.rb index b62c22576d..7bf2635c16 100644 --- a/lib/rdoc.rb +++ b/lib/rdoc.rb @@ -129,6 +129,7 @@ def self.home if File.directory?(rdoc_dir) rdoc_dir else + require 'fileutils' begin # XDG xdg_data_home = ENV["XDG_DATA_HOME"] || File.join(File.expand_path("~"), '.local', 'share')