summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-19 09:00:01 +0900
committerYusuke Endoh <mame@ruby-lang.org>2021-06-29 15:49:51 +0900
commit4670458af890e9430395c7f56cb23437932f7f52 (patch)
tree8c4915312950fc1c95ceee8ea316c73129322861
parent8356d9e37485be0a1409c6f3add9a42f2f1a876c (diff)
Should require "rbconfig" to use RbConfig
https://github.com/ruby/did_you_mean/commit/fbe5aaaae8
-rw-r--r--lib/did_you_mean/spell_checkers/require_path_checker.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/did_you_mean/spell_checkers/require_path_checker.rb b/lib/did_you_mean/spell_checkers/require_path_checker.rb
index aaf877b412..e4cdb9f43d 100644
--- a/lib/did_you_mean/spell_checkers/require_path_checker.rb
+++ b/lib/did_you_mean/spell_checkers/require_path_checker.rb
@@ -2,6 +2,7 @@
require_relative "../spell_checker"
require_relative "../tree_spell_checker"
+require "rbconfig"
module DidYouMean
class RequirePathChecker