Skip to content

Commit 11eba33

Browse files
committed
FileUtils is needed
1 parent c1c1c8e commit 11eba33

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

lib/debug/console.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ def history_file
163163
path = File.join(File.expand_path(state_dir), 'rdbg', 'history')
164164
end
165165

166+
require 'fileutils'
166167
FileUtils.mkdir_p(File.dirname(path)) unless File.exist?(path)
167168
path
168169
end

lib/debug/server.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# frozen_string_literal: true
22

33
require 'socket'
4+
require 'fileutils'
45
require_relative 'config'
56
require_relative 'version'
67

test/support/test_case.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
require 'timeout'
88
require 'json'
99
require 'rbconfig'
10+
require 'fileutils'
1011
require_relative '../../lib/debug/client'
1112

1213
require_relative 'assertions'

0 commit comments

Comments
 (0)