HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/Kernel/gem-i.ri
U:RDoc::AnyMethod[iI"gem:ETI"Kernel#gem;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"AUse Kernel#gem to activate a specific version of +gem_name+.;To:RDoc::Markup::BlankLineo;
;	[I"?+requirements+ is a list of version requirements that the ;TI"Nspecified gem must match, most commonly "= example.version.number".  See ;TI"?Gem::Requirement for how to specify a version requirement.;T@o;
;	[I"PIf you will be activating the latest version of a gem, there is no need to ;TI"Ecall Kernel#gem, Kernel#require will do the right thing for you.;T@o;
;	[I"PKernel#gem returns true if the gem was activated, otherwise false.  If the ;TI"Igem could not be found, didn't match the version requirements, or a ;TI"Jdifferent version was already activated, an exception will be raised.;T@o;
;	[I"LKernel#gem should be called *before* any require statements (otherwise ;TI"6RubyGems may load a conflicting library version).;T@o;
;	[I"NKernel#gem only loads prerelease versions when prerelease +requirements+ ;TI"are given:;T@o:RDoc::Markup::Verbatim;	[I"#gem 'rake', '>= 1.1.a', '< 2'
;T:@format0o;
;	[	I"LIn older RubyGems versions, the environment variable GEM_SKIP could be ;TI"Pused to skip activation of specified gems, for example to test out changes ;TI"Ithat haven't been installed yet.  Now RubyGems defers to -I and the ;TI">RUBYLIB environment variable to skip activation of a gem.;T@o;
;	[I"
Example:;T@o;;	[I"<GEM_SKIP=libA:libB ruby -I../libA -I../libB ./mycode.rb;T;
0:
@fileI"(lib/rubygems/core_ext/kernel_gem.rb;T:0@omit_headings_from_table_of_contents_below000[I"(gem_name, *requirements);T@4FI"Kernel;TcRDoc::NormalModule00