aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/10-require-rubygems.patch12
-rw-r--r--debian/patches/series1
2 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/10-require-rubygems.patch b/debian/patches/10-require-rubygems.patch
new file mode 100644
index 0000000..3d490ab
--- /dev/null
+++ b/debian/patches/10-require-rubygems.patch
@@ -0,0 +1,12 @@
+Remove "require rubgems" from code
+--- a/lib/leap_cli.rb
++++ b/lib/leap_cli.rb
+@@ -10,7 +10,7 @@
+
+ # for a few gems, things will break if using earlier versions.
+ # enforce the compatible versions here:
+-require 'rubygems'
++#require 'rubygems'
+ gem 'net-ssh', '~> 2.7.0'
+ gem 'gli', '~> 2.12.0'
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..328a243
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+10-require-rubygems.patch