ruby/gem_prelude.rb

12 строки
219 B
Ruby

begin
require 'rubygems'
rescue LoadError
warn "`RubyGems' were not loaded."
end if defined?(Gem)
begin
require 'did_you_mean'
rescue LoadError
warn "`did_you_mean' was not loaded."
end if defined?(DidYouMean)