Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -u -r ../jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb
- --- ../jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb 2010-06-06 10:49:08.000000000 -0500
- +++ lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb 2010-11-24 01:51:28.000000000 -0600
- @@ -76,3 +76,19 @@
- end
- +plugins = Gem.find_files 'rubygems_plugin'
- +
- +plugins.each do |plugin|
- +
- + # Skip older versions of the GemCutter plugin: Its commands are in
- + # RubyGems proper now.
- +
- + next if plugin =~ /gemcutter-0\.[0-3]/
- +
- + begin
- + load plugin
- + rescue => e
- + warn "error loading #{plugin.inspect}: #{e.message} (#{e.class})"
- + end
- +end
- +
- diff -u -r ../jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems.rb lib/ruby/site_ruby/1.8/rubygems.rb
- --- ../jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems.rb 2010-06-06 10:49:08.000000000 -0500
- +++ lib/ruby/site_ruby/1.8/rubygems.rb 2010-11-24 01:51:10.000000000 -0600
- @@ -1100,19 +1100,3 @@
- Gem.clear_paths
- -plugins = Gem.find_files 'rubygems_plugin'
- -
- -plugins.each do |plugin|
- -
- - # Skip older versions of the GemCutter plugin: Its commands are in
- - # RubyGems proper now.
- -
- - next if plugin =~ /gemcutter-0\.[0-3]/
- -
- - begin
- - load plugin
- - rescue => e
- - warn "error loading #{plugin.inspect}: #{e.message} (#{e.class})"
- - end
- -end
- -
Add Comment
Please, Sign In to add comment