diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-12-15 19:26:46 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-12-16 00:25:53 +0900 |
commit | 578eb02b16218ce842a30bf794bf52a68e680a38 (patch) | |
tree | 731649961d8cda5dc1171ac1c3d5d13f3b4671d2 | |
parent | b257181ccc9cf46cfcbe085083f3ebffcd8abf09 (diff) |
[ruby/rdoc] Require fileutils before using it
https://github.com/ruby/rdoc/commit/edb2523018
-rw-r--r-- | lib/rdoc.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ module RDoc 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') |