File: do_not_use_gem_bin_path.patch

package info (click to toggle)
ruby-guard 2.18.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,380 kB
  • sloc: ruby: 9,256; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: do not use Gem.bin_path
Author: HIGUCHI Daisuke (VDR dai) <dai@debian.org>
Forwarded: not-needed
Last-Update: 2018-11-17

--- a/bin/guard
+++ b/bin/guard
@@ -62,7 +62,7 @@
     end
 
     def guard_core_path
-      Gem.bin_path("guard", "_guard-core")
+      "/usr/lib/ruby/vendor_ruby/guard/_guard-core"
     end
   end