[DRE-commits] [ruby-guard] 09/13: do not use Gem.bin_path
Daisuke Higuchi
dai at moszumanska.debian.org
Tue Nov 28 08:10:09 UTC 2017
This is an automated email from the git hooks/post-receive script.
dai pushed a commit to branch master
in repository ruby-guard.
commit 2ba66b9af73e2b428976427bca19f3e46479cd39
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date: Tue Nov 28 16:56:49 2017 +0900
do not use Gem.bin_path
---
debian/patches/do_not_use_gem_bin_path.patch | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/debian/patches/do_not_use_gem_bin_path.patch b/debian/patches/do_not_use_gem_bin_path.patch
new file mode 100644
index 0000000..fd75469
--- /dev/null
+++ b/debian/patches/do_not_use_gem_bin_path.patch
@@ -0,0 +1,18 @@
+Description: do not use Gem.bin_path
+Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
+Forwarded: not-needed
+Last-Update: 2017-11-28
+
+Index: ruby-guard/bin/guard
+===================================================================
+--- ruby-guard.orig/bin/guard
++++ ruby-guard/bin/guard
+@@ -66,7 +66,7 @@ class GuardReloader
+ end
+
+ def guard_core_path
+- Gem.bin_path("guard", "_guard-core")
++ "_guard-core"
+ end
+ end
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-guard.git
More information about the Pkg-ruby-extras-commits
mailing list