U:RDoc::AnyMethod[iI"require:EFI"Kernel#require;TF:privateo:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"NWhen RubyGems is required, Kernel#require is replaced with our own which ;TI"*is capable of loading gems on demand.;To:RDoc::Markup::BlankLine o;
; [I">When you call require 'x', this is what happens:;To:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o;
; [I"CIf the file can be loaded from the existing Ruby loadpath, it ;TI"is.;To;;0; [o;
; [I"EOtherwise, installed gems are searched for a file that matches. ;TI"CIf it's found in gem 'y', that gem is activated (added to the ;TI"loadpath).;T@o;
; [I"EThe normal require functionality of returning false if ;TI"4that file has already been loaded is preserved.;T:
@fileI",lib/rubygems/core_ext/kernel_require.rb;T:0@omit_headings_from_table_of_contents_below000[[I"gem_original_require;Fo;; [o;
; [I"8The Kernel#require from before RubyGems was loaded.;T;@&;0I"(path);T@&FI"Kernel;TcRDoc::NormalModule00