Package: ruby-fog-vmfusion / 0.1.0-2

remove-rubygems.patch Patch series | download
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
Description: remove rubygems
 debian specific
Author: Pirate Praveen <praveen@debian.org>
Last-Updated: 2015-04-10

Index: ruby-fog-vmfusion-0.1.0/lib/fog/compute/vmfusion.rb
===================================================================
--- ruby-fog-vmfusion-0.1.0.orig/lib/fog/compute/vmfusion.rb
+++ ruby-fog-vmfusion-0.1.0/lib/fog/compute/vmfusion.rb
@@ -18,10 +18,11 @@ module Fog
       class Real
         def initialize(_options = {})
           require "fission"
-        rescue LoadError => e
-          retry if require("rubygems")
-          raise e.message
-        end
+	# ruby-fission is a dependency so apt will ensure its available
+        #rescue LoadError => e
+        #  retry if require("rubygems")
+        #  raise e.message
+        #end
       end
     end
   end