1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/gem_prelude.rb

18 lines
346 B
Ruby
Raw Normal View History

begin
2020-12-01 23:32:43 -05:00
require 'rubygems'
rescue LoadError
warn "`RubyGems' were not loaded."
end if defined?(Gem)
begin
require 'error_highlight'
rescue LoadError
warn "`error_highlight' was not loaded."
end if defined?(ErrorHighlight)
begin
require 'did_you_mean'
rescue LoadError
warn "`did_you_mean' was not loaded."
end if defined?(DidYouMean)