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 <HASH>..<HASH> 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
Should require "rbconfig" to use RbConfig