[Ironruby-core] IronRuby r112 is out

John Lam (IRONRUBY) jflam at microsoft.com
Sat May 24 16:47:03 EDT 2008


Thanks for sending in your patch - we really do appreciate the effort that you put into it!

We're just in a big time crunch before RailsConf so we're pretty well implementing anything that we need to in order to get Rails to run.

Did we implement all of the methods in your patch? Perhaps you could update and re-submit?

Thanks,
-John


> -----Original Message-----
> From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-
> bounces at rubyforge.org] On Behalf Of Unnikrishnan Nair
> Sent: Friday, May 23, 2008 9:57 PM
> To: ironruby-core at rubyforge.org
> Subject: Re: [Ironruby-core] IronRuby r112 is out
>
> John,
>
>
>
> 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?
>
>
>
> Thanks.
>
>
>
> ----- Original Message ----
> From: John Lam (IRONRUBY) <jflam at microsoft.com>
> To: "ironruby-core at rubyforge.org" <ironruby-core at rubyforge.org>
> Sent: Friday, May 23, 2008 8:56:29 PM
> Subject: [Ironruby-core] IronRuby r112 is out
>
>
>
> This is the release that we used to run the Rails functional test this
> afternoon.
>
>
>
> 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:
>
>
>
> activesupport\lib\active_support\inflector.rb
>
> railties\lib\initializer.rb
>
>
>
> There were three reasons to make these changes.
>
>
>
> 1)      In inflector.rb, we have a workaround around a missing feature
> in String#gsub (replacement via \1 and \2)
>
> 2)      In initializer.rb, we have a workaround around a missing
> feature
> in Dir#glob (we don't handle [_a-z] correctly)
>
> 3)      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).
>
>
>
> 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:
>
>
>
> rake rails:freeze:gems
>
>
>
> 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 *AHEAD* of other paths (such
> as the path to your MRI installations' lib\ruby\1.8 and
> lib\site_ruby\1.8\
>
>
>
> Here's a sample ir.cmd file that we use internally.
>
>
>
> %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;%MER
> LIN_ROOT%\Languages\Ruby\Libs %*
>
>
>
> 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.
>
>
>
> Thanks,
>
> -John
>
>



More information about the Ironruby-core mailing list