mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems.rb: Reduce requires to improve make benchmark
.
[#4962] * lib/rubygems/specification.rb: Delay initialization of rubygems until require is called. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c1d84bfcdb
commit
0e7da28c98
3 changed files with 13 additions and 5 deletions
|
@ -2126,3 +2126,6 @@ class Gem::Specification
|
|||
# deprecate :file_name, :cache_file, 2011, 10
|
||||
# deprecate :full_gem_path, :cache_file, 2011, 10
|
||||
end
|
||||
|
||||
Gem.clear_paths
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue