--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ruby/ruby-18/patches/07-ruby-usrlocal.patch Wed Nov 06 14:12:13 2013 -0800
@@ -0,0 +1,45 @@
+diff -aur ruby-1.8.7-p334/lib/irb/cmd/subirb.rb ruby-1.8.7-p334/lib/irb/cmd/subirb.rb
+--- ruby-1.8.7-p334/lib/irb/cmd/subirb.rb 2007-02-12 15:01:19.000000000 -0800
++++ ruby-1.8.7-p334/lib/irb/cmd/subirb.rb 2008-03-06 20:23:34.247909000 -0800
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby
++#!/usr/ruby/1.8/bin/ruby
+ #
+ # multi.rb -
+ # $Release Version: 0.9.5$
+diff -aur ruby-1.8.7-p334/lib/irb/ext/save-history.rb ruby-1.8.7-p334/lib/irb/ext/save-history.rb
+--- ruby-1.8.7-p334/lib/irb/ext/save-history.rb 2007-02-12 15:01:19.000000000 -0800
++++ ruby-1.8.7-p334/lib/irb/ext/save-history.rb 2008-03-06 20:23:37.360015000 -0800
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby
++#!/usr/ruby/1.8/bin/ruby
+ #
+ # save-history.rb -
+ # $Release Version: 0.9.5$
+diff -aur ruby-1.8.7-p334/lib/matrix.rb ruby-1.8.7-p334/lib/matrix.rb
+--- ruby-1.8.7-p334/lib/matrix.rb 2007-02-12 15:01:19.000000000 -0800
++++ ruby-1.8.7-p334/lib/matrix.rb 2008-03-06 20:23:39.897679000 -0800
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby
++#!/usr/ruby/1.8/bin/ruby
+ #--
+ # matrix.rb -
+ # $Release Version: 1.0$
+diff -aur ruby-1.8.7-p334/lib/rdoc/markup/sample/rdoc2latex.rb ruby-1.8.7-p334/lib/rdoc/markup/sample/rdoc2latex.rb
+--- ruby-1.8.7-p334/lib/rdoc/markup/sample/rdoc2latex.rb 2007-02-12 15:01:19.000000000 -0800
++++ ruby-1.8.7-p334/lib/rdoc/markup/sample/rdoc2latex.rb 2008-03-06 20:23:43.383535000 -0800
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby
++#!/usr/ruby/1.8/bin/ruby
+ # Illustration of a script to convert an RDoc-style file to a LaTeX
+ # document
+
+diff -aur ruby-1.8.7-p334/lib/rdoc/parsers/parse_rb.rb ruby-1.8.7-p334/lib/rdoc/parsers/parse_rb.rb
+--- ruby-1.8.7-p334/lib/rdoc/parsers/parse_rb.rb 2007-02-12 15:01:19.000000000 -0800
++++ ruby-1.8.7-p334/lib/rdoc/parsers/parse_rb.rb 2008-03-06 20:23:46.620223000 -0800
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/ruby
++#!/usr/ruby/1.8/bin/ruby
+
+ # Parse a Ruby source file, building a set of objects
+ # representing the modules, classes, methods,