1 # Replace /usr/local/bin/ruby references in ruby(1) manpage
3 --- ruby-1.9.3-p448.orig/man/ruby.1 Wed Dec 1 03:07:03 2010
4 +++ ruby-1.9.3-p448/man/ruby.1 Mon Aug 26 14:50:56 2013
7 on machines that don't support it, in the following manner:
8 .Bd -literal -offset indent
9 -#! /usr/local/bin/ruby
10 +#! /usr/ruby/1.9/bin/ruby
11 # This line makes the next one a comment in Ruby \e
12 - exec /usr/local/bin/ruby -S $0 $*
13 + exec /usr/ruby/1.9/bin/ruby -S $0 $*
16 .It Fl T Ns Op Ar level=1
19 and set the corresponding variable in the script. For example:
20 .Bd -literal -offset indent
21 -#! /usr/local/bin/ruby -s
22 +#! /usr/ruby/1.9/bin/ruby -s
23 # prints "true" if invoked with `-xyz' switch.
24 print "true\en" if $xyz