1
0
Fork 0
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:
drbrain 2011-07-06 21:19:59 +00:00
parent c1d84bfcdb
commit 0e7da28c98
3 changed files with 13 additions and 5 deletions

View file

@ -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