File: fix_ruby_path

package info (click to toggle)
ruby-image-science 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 192 kB
  • sloc: ruby: 497; makefile: 9
file content (42 lines) | stat: -rw-r--r-- 1,012 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From: Gunnar Wolf <gwolf@debian.org>
Date: Wed, 14 Sep 2011 18:05:06 -0500
Subject: Fix the hashbang to use the systemwide Ruby

Forwarded: Not-needed (trivial)
Last-update: 2019-01-07
---
 bench.rb                | 2 +-
 bin/image_science_thumb | 2 +-
 lib/image_science.rb    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bench.rb b/bench.rb
index 5cf39a6..51d2cfe 100755
--- a/bench.rb
+++ b/bench.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/ruby -w
 
 require 'benchmark'
 require 'rubygems'
diff --git a/bin/image_science_thumb b/bin/image_science_thumb
index f705c4e..8920a50 100755
--- a/bin/image_science_thumb
+++ b/bin/image_science_thumb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -ws
+#!/usr/bin/ruby -ws
 
 $s ||= false
 
diff --git a/lib/image_science.rb b/lib/image_science.rb
index 9b8d5f1..89f5d7d 100755
--- a/lib/image_science.rb
+++ b/lib/image_science.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/ruby -w
 
 require 'rubygems'
 require 'inline'