components/ruby/ruby-19/patches/03-ruby_1.patch
changeset 1482 7a1f84fbc2d7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ruby/ruby-19/patches/03-ruby_1.patch	Tue Sep 24 09:10:24 2013 -0700
@@ -0,0 +1,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