File 0005-run-bundler-with-local-for-offline-mode.patch of Package logstash5

From 0e192bc1f55a8ce0f9848a4bdb1ff4757872c0db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Fri, 17 Feb 2017 16:52:31 +0100
Subject: [PATCH 5/8] run bundler with --local for offline mode

---
 rakelib/vendor.rake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rakelib/vendor.rake b/rakelib/vendor.rake
index 02693f3a7e7b..65c53ac50e86 100644
--- a/rakelib/vendor.rake
+++ b/rakelib/vendor.rake
@@ -93,7 +93,7 @@ namespace "vendor" do
     Rake::Task["dependency:bundler"].invoke
 
     puts("Invoking bundler install...")
-    output, exception = LogStash::Bundler.invoke!(:install => true)
+    output, exception = LogStash::Bundler.invoke!(:install => true, :local => true, :max_tries => 1, :verbose => true)
     puts(output)
     raise(exception) if exception
   end # task gems
-- 
2.26.0

openSUSE Build Service is sponsored by