<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><P>John,</P>
<P>&nbsp;</P>
<P>I saw 112 has FileOps implemented so please discard the patch I send in earlier. Let me know if there are any other area you would like me to help with?</P>
<P>&nbsp;</P>
<P>Thanks.</P>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: John Lam (IRONRUBY) &lt;jflam@microsoft.com&gt;<BR>To: "ironruby-core@rubyforge.org" &lt;ironruby-core@rubyforge.org&gt;<BR>Sent: Friday, May 23, 2008 8:56:29 PM<BR>Subject: [Ironruby-core] IronRuby r112 is out<BR><BR>
<STYLE>
<!--
 _filtered {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}
span.EmailStyle17
        {font-family:"Calibri", "sans-serif";color:windowtext;}
.MsoChpDefault
        {}
 _filtered {margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {}
 _filtered {}
 _filtered {}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</STYLE>

<DIV class=Section1>
<P class=MsoNormal>This is the release that we used to run the Rails functional test this afternoon.</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>I had to modify two files in Rails to work around some missing functionality in IronRuby today. I’ve attached these files to this mail. They are:</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>activesupport\lib\active_support\inflector.rb</P>
<P class=MsoNormal>railties\lib\initializer.rb</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>There were three reasons to make these changes. </P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoListParagraph><SPAN>1)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>In inflector.rb, we have a workaround around a missing feature in String#gsub (replacement via \1 and \2)</P>
<P class=MsoListParagraph><SPAN>2)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>In initializer.rb, we have a workaround around a missing feature in Dir#glob (we don’t handle [_a-z] correctly)</P>
<P class=MsoListParagraph><SPAN>3)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>In initializer.rb, we’re commenting out the call to initialize_database since we don’t have our .NET ActiveRecord adapter working yet (it’s in progress).</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>I’ve attached these two files to this mail if you want to try it out yourself. Note that when creating the Rails app, I’ve also frozen the copy of rails via:</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>rake rails:freeze:gems</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>Note that there is a new svn\trunk\libs directory in this build. You’ll need to create an alias that uses the –I command line switch to IronRuby to correctly include this path *<B>AHEAD</B>* of other paths (such as the path to your MRI installations’ lib\ruby\1.8 and lib\site_ruby\1.8\</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>Here’s a sample ir.cmd file that we use internally.</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>%MERLIN_ROOT%\bin\debug\ir.exe -I %MERLIN_ROOT%\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8;%MERLIN_ROOT%\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\1.8;%MERLIN_ROOT%\Languages\Ruby\Libs %*</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>Note that the new Ruby\Libs directory shows up at the end of the list (this is a bug in how we parse –I). The order is important.</P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal>Thanks,</P>
<P class=MsoNormal>-John</P>
<P class=MsoNormal>&nbsp;</P></DIV></DIV></DIV></div></body></html>