File: C:/Ruby27-x64/share/ri/2.7.0/system/Bundler/setup-c.ri
U:RDoc::AnyMethod[iI"
setup:ETI"Bundler::setup;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"MTurns on the Bundler runtime. After +Bundler.setup+ call, all +load+ or ;TI"E+require+ of the gems would be allowed only if they are part of ;TI"Gthe Gemfile or Ruby's standard library. If the versions specified ;TI"5in Gemfile, only those versions would be loaded.;To:RDoc::Markup::BlankLine o;
; [I"Assuming Gemfile;T@o:RDoc::Markup::Verbatim; [ I"gem 'first_gem', '= 1.0'
;TI"group :test do
;TI"! gem 'second_gem', '= 1.0'
;TI" end
;T:@format0o;
; [I"3The code using Bundler.setup works as follows:;T@o;; [
I">require 'third_gem' # allowed, required from global gems
;TI"Erequire 'first_gem' # allowed, loads the last installed version
;TI"Bundler.setup
;TI"1require 'fourth_gem' # fails with LoadError
;TI"6require 'second_gem' # loads exactly version 1.0
;T;
0o;
; [I"M+Bundler.setup+ can be called only once, all subsequent calls are no-op.;T@o;
; [I"IIf _groups_ list is provided, only gems from specified groups would ;TI"Sbe allowed (gems specified outside groups belong to special +:default+ group).;T@o;
; [I"QTo require all gems from Gemfile (or only some groups), see Bundler.require.;T:
@fileI"lib/bundler.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*groups);T@/FI"Bundler;TcRDoc::NormalModule00