File: remove-rubygems.patch

package info (click to toggle)
ruby-macaddr 1.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 152 kB
  • sloc: ruby: 211; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Remove rubygems usage
 We will handle dependecnies using apt
 .
 Debian Specific.
Author: Pirate Praveen <praveen@debian.org>
Last-Updated: 18-10-2014

Index: ruby-macaddr-1.7.1/lib/macaddr.rb
===================================================================
--- ruby-macaddr-1.7.1.orig/lib/macaddr.rb
+++ ruby-macaddr-1.7.1/lib/macaddr.rb
@@ -14,11 +14,11 @@
 #   Mac.address.list
 #
 
-begin
-  require 'rubygems'
-rescue LoadError
-  nil
-end
+#begin
+#  require 'rubygems'
+#rescue LoadError
+#  nil
+#end
 
 require 'systemu'
 require 'socket'