Created
December 22, 2010 19:30
-
-
Save headius/751969 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/projects/jruby ➔ jruby -e "t = Time.now; require 'rubygems'; puts Time.now - t" | |
17.09 | |
~/projects/jruby ➔ jruby -e "t = Time.now; require 'rubygems'; puts Time.now - t" | |
6.959 | |
~/projects/jruby ➔ git stash pop | |
# On branch master | |
# Changed but not updated: | |
# (use "git add <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# modified: lib/ruby/site_ruby/1.8/rubygems.rb | |
# modified: lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb | |
... | |
~/projects/jruby ➔ jruby -e "t = Time.now; require 'rubygems'; puts Time.now - t" | |
0.481 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/ruby/site_ruby/1.8/rubygems.rb b/lib/ruby/site_ruby/1.8/rubygems.rb | |
index 665b785..95b2097 100644 | |
--- a/lib/ruby/site_ruby/1.8/rubygems.rb | |
+++ b/lib/ruby/site_ruby/1.8/rubygems.rb | |
@@ -1135,6 +1135,3 @@ require 'rubygems/config_file' | |
require 'rubygems/custom_require' if gem_disabled or RUBY_VERSION < '1.9' | |
Gem.clear_paths | |
- | |
-Gem.load_plugins | |
- | |
diff --git a/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb b/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb | |
index 07a792d..860ef55 100644 | |
--- a/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb | |
+++ b/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb | |
@@ -76,3 +76,4 @@ class Gem::GemRunner | |
end | |
+Gem.load_plugins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment