Emit warning when 'did_you_mean' was not properly loaded.

This commit is contained in:
Vít Ondruch 2019-12-18 15:02:31 +01:00 committed by Hiroshi SHIBATA
parent 0ad7f2dd19
commit fbe37ff37a
Notes: git 2020-12-02 12:46:45 +09:00

View File

@ -6,4 +6,5 @@ end if defined?(Gem)
begin
require 'did_you_mean'
rescue LoadError
warn "`did_you_mean' was not loaded."
end if defined?(DidYouMean)