mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Do not call 'gem "did_you_mean"' for now
This will slow down the time that the +require+ method takes to load DYM,
but this has caused a build failure in a certain situation:
29214253/job/r9u9c8p95tnlftt3 (L24965)
which is reported as a separate bug:
https://bugs.ruby-lang.org/issues/16382?next_issue_id=16381
For now this commit should fix the builds, but we should come back and
add back the 'gem' call.
This commit is contained in:
parent
171803d5d3
commit
0fef526606
Notes:
git
2019-12-01 11:08:55 +09:00
1 changed files with 2 additions and 8 deletions
|
@ -1,8 +1,2 @@
|
|||
if defined?(Gem)
|
||||
require 'rubygems.rb'
|
||||
begin
|
||||
gem 'did_you_mean'
|
||||
require 'did_you_mean'
|
||||
rescue Gem::LoadError, LoadError
|
||||
end if defined?(DidYouMean)
|
||||
end
|
||||
require 'rubygems.rb' if defined?(Gem)
|
||||
require 'did_you_mean' if defined?(DidYouMean)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue