Skip to content

Commit edb2523

Browse files
committed
Require fileutils before using it
1 parent 7a8e9a9 commit edb2523

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rdoc.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def self.home
129129
if File.directory?(rdoc_dir)
130130
rdoc_dir
131131
else
132+
require 'fileutils'
132133
begin
133134
# XDG
134135
xdg_data_home = ENV["XDG_DATA_HOME"] || File.join(File.expand_path("~"), '.local', 'share')

0 commit comments

Comments
 (0)