mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* ruby.c (usage, enable_option, disable_option, process_options): new
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
This commit is contained in:
parent
abd5b8e1db
commit
40f304e025
3 changed files with 21 additions and 1 deletions
|
@ -1 +1,7 @@
|
|||
require 'rubygems.rb' if defined?(Gem)
|
||||
if defined?(Gem)
|
||||
require 'rubygems.rb'
|
||||
begin
|
||||
require 'did_you_mean'
|
||||
rescue LoadError
|
||||
end if defined?(DidYouMean)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue