2019-12-18 08:55:25 -05:00
|
|
|
begin
|
2020-12-01 23:32:43 -05:00
|
|
|
require 'rubygems'
|
2021-08-08 09:15:40 -04:00
|
|
|
rescue LoadError => e
|
|
|
|
raise unless e.path == 'rubygems'
|
|
|
|
|
2019-12-18 09:03:38 -05:00
|
|
|
warn "`RubyGems' were not loaded."
|
2019-12-18 08:55:25 -05:00
|
|
|
end if defined?(Gem)
|
2019-12-18 08:29:17 -05:00
|
|
|
|
2021-06-18 04:11:39 -04:00
|
|
|
begin
|
2021-06-28 00:27:35 -04:00
|
|
|
require 'error_highlight'
|
2021-06-18 04:11:39 -04:00
|
|
|
rescue LoadError
|
2021-06-28 00:27:35 -04:00
|
|
|
warn "`error_highlight' was not loaded."
|
|
|
|
end if defined?(ErrorHighlight)
|
2021-06-18 04:11:39 -04:00
|
|
|
|
2019-12-18 08:29:17 -05:00
|
|
|
begin
|
|
|
|
require 'did_you_mean'
|
|
|
|
rescue LoadError
|
2019-12-18 09:02:31 -05:00
|
|
|
warn "`did_you_mean' was not loaded."
|
2019-12-18 08:29:17 -05:00
|
|
|
end if defined?(DidYouMean)
|
2022-07-26 16:16:21 -04:00
|
|
|
|
|
|
|
begin
|
|
|
|
require 'syntax_suggest/core_ext'
|
|
|
|
rescue LoadError
|
|
|
|
warn "`syntax_suggest' was not loaded."
|
|
|
|
end if defined?(SyntaxSuggest)
|
|
|
|
|