File: fix_ruby_path

package info (click to toggle)
ruby-image-science 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 200 kB
  • sloc: ruby: 496; makefile: 7
file content (29 lines) | stat: -rw-r--r-- 586 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
Author: Gunnar Wolf <gwolf@debian.org>
Forwarded: Not-needed (trivial)
Last-update: 2019-01-07
Description: Fix the hashbang to use the systemwide Ruby

--- 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'
--- 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
 
--- a/bench.rb
+++ b/bench.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/ruby -w
 
 require 'benchmark'
 require 'rubygems'