mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
40f304e025
option `--disable_did_you_mean`. * gem_prelude.rb: now requires did_you_mean gem by default if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
7 lines
129 B
Ruby
7 lines
129 B
Ruby
if defined?(Gem)
|
|
require 'rubygems.rb'
|
|
begin
|
|
require 'did_you_mean'
|
|
rescue LoadError
|
|
end if defined?(DidYouMean)
|
|
end
|