Re: 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 L. (IRONRUBY) [email protected]
To: “[email protected][email protected]
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;%MERLIN_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

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