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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
From: Debian Ruby Extras Maintainers
<pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Date: Sat, 23 Jul 2016 08:51:06 +0200
Subject: disable-gem-in-tests
Forwarded: no
Author: Lucas Nussbaum <lucas@debian.org>
Reviewed-By: Sebastien Badia <seb@sebian.fr>
Last-Update: 2015-04-10
---
test/common.rb | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/test/common.rb b/test/common.rb
index 1216933..1950cb2 100644
--- a/test/common.rb
+++ b/test/common.rb
@@ -1,11 +1,11 @@
require 'test/unit'
require 'mocha/setup'
-begin
- gem 'net-ssh', ">= 2.0.0"
- require 'net/ssh'
-rescue LoadError
- $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../net-ssh/lib"
+#begin
+# gem 'net-ssh', ">= 2.0.0"
+# require 'net/ssh'
+#rescue LoadError
+# $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../net-ssh/lib"
begin
require 'net/ssh'
@@ -14,7 +14,7 @@ rescue LoadError
rescue LoadError => e
abort "could not load net/ssh v2 (#{e.inspect})"
end
-end
+#end
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
|