aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-12-07 15:54:11 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-12-07 15:54:11 -0200
commitc4bd03c587fc401a1a78cc6c6ed02737a87e17d2 (patch)
tree364fc2c9b8ff7906d03014a9103b71b389114a91
parent21564ed30c5fc1ac60ea242a5260f98d83898149 (diff)
downloadleap_cli-c4bd03c587fc401a1a78cc6c6ed02737a87e17d2.tar.gz
leap_cli-c4bd03c587fc401a1a78cc6c6ed02737a87e17d2.tar.bz2
Adding 10-require-rubygems.patch
-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