⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Bundler
/
View File Name :
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