File: fix_ruby_path

package info (click to toggle)
libimage-science-ruby 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 100 kB
  • ctags: 23
  • sloc: ruby: 411; makefile: 4
file content (30 lines) | stat: -rw-r--r-- 1,192 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
Index: libimage-science-ruby-1.2.1/bench.rb
===================================================================
--- libimage-science-ruby-1.2.1.orig/bench.rb	2007-03-08 16:26:39.000000000 -0600
+++ libimage-science-ruby-1.2.1/bench.rb	2009-08-26 11:41:26.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/ruby1.8 -w
 
 require 'benchmark'
 require 'rubygems'
Index: libimage-science-ruby-1.2.1/lib/image_science.rb
===================================================================
--- libimage-science-ruby-1.2.1.orig/lib/image_science.rb	2009-08-14 03:29:51.000000000 -0500
+++ libimage-science-ruby-1.2.1/lib/image_science.rb	2009-08-26 11:41:26.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/ruby1.8 -w
 
 require 'rubygems'
 require 'inline'
Index: libimage-science-ruby-1.2.1/bin/image_science_thumb
===================================================================
--- libimage-science-ruby-1.2.1.orig/bin/image_science_thumb	2008-12-20 17:06:55.000000000 -0600
+++ libimage-science-ruby-1.2.1/bin/image_science_thumb	2009-08-26 11:41:26.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -ws
+#!/usr/bin/ruby1.8 -ws
 
 $s ||= false