# Description: Remove requirement of rubygems
# Requiring RubyGems is discouraged by the Debian Ruby Extras team
# per http://pkg-ruby-extras.alioth.debian.org/upstream-devs.html
Index: ohai-0.5.4/bin/ohai
===================================================================
--- ohai-0.5.4.orig/bin/ohai 2010-05-11 20:03:19.000000000 -0600
+++ ohai-0.5.4/bin/ohai 2010-05-11 20:04:27.000000000 -0600
@@ -20,12 +20,8 @@
#
-begin
- require 'rubygems'
-rescue LoadError
- # must be debian! ;)
- missing_rubygems = true
-end
+# must be debian! ;)
+missing_rubygems = true
begin
# if we're in a source code checkout, we want to run the code from that.
# have to do this *after* rubygems is loaded.