Description: Don't require Rubygems, as the package is Debian-packaged
 RubyGems handle their own package management system - Removing the
 call to the framework is part of the Debian Ruby team policy.
Forwarded: not-needed
Origin: vendor
Author: Gunnar Wolf <gwolf@debian.org>

Index: ruby-log4r/lib/log4r/formatter/log4jxmlformatter.rb
===================================================================
--- ruby-log4r.orig/lib/log4r/formatter/log4jxmlformatter.rb	2011-06-09 11:00:59.000000000 -0500
+++ ruby-log4r/lib/log4r/formatter/log4jxmlformatter.rb	2011-06-09 11:01:23.000000000 -0500
@@ -6,7 +6,6 @@
 
 require "log4r/formatter/formatter"
 
-require "rubygems"
 require "builder"
 
 module Log4r
Index: ruby-log4r/lib/log4r/outputter/emailoutputter.rb
===================================================================
--- ruby-log4r.orig/lib/log4r/outputter/emailoutputter.rb	2011-06-09 11:00:59.000000000 -0500
+++ ruby-log4r/lib/log4r/outputter/emailoutputter.rb	2011-06-09 11:01:08.000000000 -0500
@@ -111,7 +111,6 @@
 	  # >1.8.7 has smtp_tls built in, 1.8.6 requires smtp_tls
 	  if RUBY_VERSION < "1.8.7" then
 	    begin
-	      require 'rubygems'
 	      require 'smtp_tls'
 	      smtp.enable_starttls if smtp.respond_to?(:enable_starttls)
 	    rescue LoadError => e
