Alexander Pyhalov
2014-10-06 1757a2a795779307407ce7560dd26db0b83df408
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
# Replace /usr/local/bin/ruby references in ruby(1) manpage
 
--- ruby-1.9.3-p448.orig/man/ruby.1    Wed Dec  1 03:07:03 2010
+++ ruby-1.9.3-p448/man/ruby.1    Mon Aug 26 14:50:56 2013
@@ -200,9 +200,9 @@
 .Li #!
 on machines that don't support it, in the following manner:
 .Bd -literal -offset indent
-#! /usr/local/bin/ruby
+#! /usr/ruby/1.9/bin/ruby
 # This line makes the next one a comment in Ruby \e
-  exec /usr/local/bin/ruby -S $0 $*
+  exec /usr/ruby/1.9/bin/ruby -S $0 $*
 .Ed
 .Pp
 .It Fl T Ns Op Ar level=1
@@ -325,7 +325,7 @@
 .Li ARGV
 and set the corresponding variable in the script.  For example:
 .Bd -literal -offset indent
-#! /usr/local/bin/ruby -s
+#! /usr/ruby/1.9/bin/ruby -s
 # prints "true" if invoked with `-xyz' switch.
 print "true\en" if $xyz
 .Ed