# 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
|