D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Bundler
/
Filename :
require-c.ri
back
Copy
U:RDoc::AnyMethod[iI"require:ETI"Bundler::require;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"NSetups Bundler environment (see Bundler.setup) if it is not already set, ;TI"Mand loads all gems from groups specified. Unlike ::setup, can be called ;TI"Jmultiple times with different groups (if they were allowed by setup).;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"#The code will work as follows:;T@o;; [ I"&Bundler.setup # allow all groups ;TI"9Bundler.require(:default) # requires only first_gem ;TI"# ...later ;TI"3Bundler.require(:test) # requires second_gem;T; 0: @fileI"lib/bundler.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*groups);T@#FI"Bundler;TcRDoc::NormalModule00