# IronRuby r112 is out

**URL:** <https://www.ruby-forum.com/t/ironruby-r112-is-out/138532>\
**Category:** IronRuby\
**Created:** [May 24, 2008, 3:57am UTC](https://www.ruby-forum.com/t/ironruby-r112-is-out/138532 "2008-05-24T03:57:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_LSSIRONRUBY](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/4491bb/32.png) [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Post date:** [May 24, 2008, 3:57am UTC](https://www.ruby-forum.com/t/ironruby-r112-is-out/138532/1 "2008-05-24T03:57:34Z")

</div>

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)

1. 

```
 In initializer.rb, we have a workaround around a missing feature 

```

in Dir#glob (we don’t handle [\_a-z] correctly)

1. 

```
 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
