# IronRuby

**URL:** https://www.ruby-forum.com/c/ruby/ironruby/27.md?page=36

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 37

---

## [Problem](https://www.ruby-forum.com/t/problem/163247)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 14\
**Last updated:** [March 19, 2009, 1:24am UTC](https://www.ruby-forum.com/t/problem/163247 "2009-03-19T01:24:55Z")

</div>

Hi all. I have a question that probably belongs on a users mailing list but I could not find one. I get the following error when trying to use my IronRuby windsor registration script: System.InvalidOperationExcepti…

---

## [Code Review: version03](https://www.ruby-forum.com/t/code-review-version03/163267)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [March 18, 2009, 8:17pm UTC](https://www.ruby-forum.com/t/code-review-version03/163267 "2009-03-18T20:17:45Z")

</div>

tfpt review “/shelveset:version03;REDMOND\\jdeville” Comment : Updates IronRuby version to 0.3 (to be more accurate) and fixes a broken test in File.expand\_path

---

## [Status of rubygems unit tests](https://www.ruby-forum.com/t/status-of-rubygems-unit-tests/163084)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 7\
**Last updated:** [March 18, 2009, 7:05pm UTC](https://www.ruby-forum.com/t/status-of-rubygems-unit-tests/163084 "2009-03-18T19:05:28Z")

</div>

I have been working on making the rubygem unit tests (from git://github.com/vvs/rubygems.git) pass with IronRuby. When I started, the results looked like this. 707 tests, 1170 assertions, 9 failures, 352 errors, 1 sk…

---

## [Git Push](https://www.ruby-forum.com/t/git-push/163197)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [March 18, 2009, 8:42am UTC](https://www.ruby-forum.com/t/git-push/163197 "2009-03-18T08:42:56Z")

</div>

Today’s git push includes the last set of changes to make things easier for everyone developing from Git. It reintroduces MERLIN\_ROOT, but MERLIN\_ROOT now comes with benefits. We recommend you start your developing by…

---

## [Maruku within IronRuby using rexml/document](https://www.ruby-forum.com/t/maruku-within-ironruby-using-rexml-document/162298)

<div class="topic-metadata">

**Author:** [@Grant\_Archibald](https://www.ruby-forum.com/u/Grant_Archibald)\
**Replies:** 1\
**Last updated:** [March 17, 2009, 7:21pm UTC](https://www.ruby-forum.com/t/maruku-within-ironruby-using-rexml-document/162298 "2009-03-17T19:21:25Z")

</div>

Hi, I look to make use of Maruku within IronRuby and it has a dependency rexml/document. Has anyone successfully used rexml/document under IronRuby? Thanks Grant

---

## [Code Review: DMO1](https://www.ruby-forum.com/t/code-review-dmo1/163059)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 2\
**Last updated:** [March 17, 2009, 6:44pm UTC](https://www.ruby-forum.com/t/code-review-dmo1/163059 "2009-03-17T18:44:55Z")

</div>

tfpt review “/shelveset:DMO1;REDMOND\\tomat” Comment : Checks for an invalid number of arguments is passed to an attribute setter/getter or struct field setter/getter. Implements correct splatting of arguments to Del…

---

## [Accessing the return value from a Dsl](https://www.ruby-forum.com/t/accessing-the-return-value-from-a-dsl/162975)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 2\
**Last updated:** [March 17, 2009, 6:40pm UTC](https://www.ruby-forum.com/t/accessing-the-return-value-from-a-dsl/162975 "2009-03-17T18:40:48Z")

</div>

Hi, I am trying to create a Dsl which will have instances that live in individual Dsl .rb files and then run them from the CLR. I want to create and set the values of the Clr object in IronRuby and then somehow have …

---

## [Is this really impossible?](https://www.ruby-forum.com/t/is-this-really-impossible/163135)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [March 17, 2009, 4:23pm UTC](https://www.ruby-forum.com/t/is-this-really-impossible/163135 "2009-03-17T16:23:48Z")

</div>

Hi, I’m trying to teach Ninject some new tricks by introducing it to the DLR. So far I’ve got a config DSL in a working state and now I’m looking at making it work with types implemented in a DLR language. I’ve only…

---

## [Review : Zlib::Deflate fix](https://www.ruby-forum.com/t/review-zlib-deflate-fix/163058)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 0\
**Last updated:** [March 17, 2009, 1:18am UTC](https://www.ruby-forum.com/t/review-zlib-deflate-fix/163058 "2009-03-17T01:18:39Z")

</div>

---

## [Recommendations for (IronRuby) gem packaging?](https://www.ruby-forum.com/t/recommendations-for-ironruby-gem-packaging/161651)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 5\
**Last updated:** [March 16, 2009, 10:26pm UTC](https://www.ruby-forum.com/t/recommendations-for-ironruby-gem-packaging/161651 "2009-03-16T22:26:59Z")

</div>

Hi, I’m thinking about packaging some gems from github. So I’m wondering if it already possible to package a gem so that: 1 - it is marked as compatible only with IronRuby ? 2 - it is marked as compatible also with I…

---

## [Code Review: irtestfix](https://www.ruby-forum.com/t/code-review-irtestfix/163027)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [March 16, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/code-review-irtestfix/163027 "2009-03-16T21:50:31Z")

</div>

tfpt review “/shelveset:irtestfix;REDMOND\\jdeville” Comment : Removes RunRspec Path correction in Dev.bat to point to ruby-1.9.1p0 instead of 1.9.0-0 Fixes irtests.bat to work with new mspec setup Fixes bug/suggesti…

---

## [Code Review: shrigitpull](https://www.ruby-forum.com/t/code-review-shrigitpull/162957)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [March 16, 2009, 8:10am UTC](https://www.ruby-forum.com/t/code-review-shrigitpull/162957 "2009-03-16T08:10:05Z")

</div>

tfpt review “/shelveset:shrigitpull;REDMOND\\jdeville” Comment : This shelveset is an external contribution from Shri. Tests have been modified by me. Added support to YAML.quick\_emit to be called on nested objects w…

---

## [FYI review: YAML improvements](https://www.ruby-forum.com/t/fyi-review-yaml-improvements/162809)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [March 14, 2009, 7:42am UTC](https://www.ruby-forum.com/t/fyi-review-yaml-improvements/162809 "2009-03-14T07:42:41Z")

</div>

---

## [Microsoft.Scripting dll versions](https://www.ruby-forum.com/t/microsoft-scripting-dll-versions/162808)

<div class="topic-metadata">

**Author:** [@Bruce\_Pierson](https://www.ruby-forum.com/u/Bruce_Pierson)\
**Replies:** 3\
**Last updated:** [March 14, 2009, 5:56am UTC](https://www.ruby-forum.com/t/microsoft-scripting-dll-versions/162808 "2009-03-14T05:56:57Z")

</div>

I have an application that allows the user to choose between Ruby and Python scripting. In order to make this work, I had to rebuild IronRuby with all the Microsoft.Scripting.\* assemblies renamed, because the version…

---

## [IronRuby Mono CI build box back online](https://www.ruby-forum.com/t/ironruby-mono-ci-build-box-back-online/162798)

<div class="topic-metadata">

**Author:** [@C.JSAdams-Collier](https://www.ruby-forum.com/u/C.JSAdams-Collier)\
**Replies:** 0\
**Last updated:** [March 13, 2009, 9:37pm UTC](https://www.ruby-forum.com/t/ironruby-mono-ci-build-box-back-online/162798 "2009-03-13T21:37:58Z")

</div>

Hey all, I moved the servers the CI was running on into my basement last weekend. They’re back online, and you can follow the logs here: http://ironruby.colliertech.org/integrity/ironruby Michael L. is the one respo…

---

## [Code Review: EncodingsFinal](https://www.ruby-forum.com/t/code-review-encodingsfinal/162788)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [March 13, 2009, 7:36pm UTC](https://www.ruby-forum.com/t/code-review-encodingsfinal/162788 "2009-03-13T19:36:32Z")

</div>

tfpt review “/shelveset:EncodingsFinal;REDMOND\\tomat” Outer DLR: Adds Invariant, Ensures, Result, Parameter and Out stubs to ContractUtils mimicking Dev10 contracts. These allow us to specify post-condition…

---

## [More WCF fail](https://www.ruby-forum.com/t/more-wcf-fail/162616)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 8\
**Last updated:** [March 12, 2009, 10:21pm UTC](https://www.ruby-forum.com/t/more-wcf-fail/162616 "2009-03-12T22:21:26Z")

</div>

Had time to get back to the WCF stuff: Here’s the latest class MyService include IWcfContract def ping(x) x end end uri = Uri.new “http://localhost:8700/MyService” binding = WSHttpBinding.new host = ServiceHost.…

---

## [Code Review: interop3](https://www.ruby-forum.com/t/code-review-interop3/162234)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 3\
**Last updated:** [March 11, 2009, 10:18pm UTC](https://www.ruby-forum.com/t/code-review-interop3/162234 "2009-03-11T22:18:58Z")

</div>

tfpt review “/shelveset:interop3;REDMOND\\jdeville” Comment : Rearrange .NET tests according to the new test structure Add the csc method to inline C# fixtures into the Ruby code \*\* Should csc.bat be in a path’d scri…

---

## [Code Review: scripts](https://www.ruby-forum.com/t/code-review-scripts/162510)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 1\
**Last updated:** [March 11, 2009, 12:33am UTC](https://www.ruby-forum.com/t/code-review-scripts/162510 "2009-03-11T00:33:32Z")

</div>

tfpt review “/shelveset:scripts;REDMOND\\sborde” Comment : Code change: Small fix in Shell\\CommandLine.cs to deal with newlines consistently (user-reported issue). Scripts: Moves RunRSpec.cmd and irtests.bat from M…

---

## [Code review: Implements Zlib::GzipWriter using System.IO.Compression.GZipStream](https://www.ruby-forum.com/t/code-review-implements-zlib-gzipwriter-using-system-io-compression-gzipstream/162410)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 0\
**Last updated:** [March 9, 2009, 6:02pm UTC](https://www.ruby-forum.com/t/code-review-implements-zlib-gzipwriter-using-system-io-compression-gzipstream/162410 "2009-03-09T18:02:14Z")

</div>

---

## [Support for generic types of interfaces](https://www.ruby-forum.com/t/support-for-generic-types-of-interfaces/162341)

<div class="topic-metadata">

**Author:** [@stefan8107](https://www.ruby-forum.com/u/stefan8107)\
**Replies:** 1\
**Last updated:** [March 9, 2009, 7:27am UTC](https://www.ruby-forum.com/t/support-for-generic-types-of-interfaces/162341 "2009-03-09T07:27:55Z")

</div>

Hi I have found out that there is a problem if you tried to create a generic type of some interface. Here is an example: require ‘System’ include System include System::Collections::Generic List.of(ICloneable).n…

---

## [Is there a built-in way to convert from snake\_case to CamelCase?](https://www.ruby-forum.com/t/is-there-a-built-in-way-to-convert-from-snake-case-to-camelcase/161965)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 5\
**Last updated:** [March 7, 2009, 9:59pm UTC](https://www.ruby-forum.com/t/is-there-a-built-in-way-to-convert-from-snake-case-to-camelcase/161965 "2009-03-07T21:59:10Z")

</div>

Hi, looking if I can use the internals better: is there a built-in IronRuby way to convert “flow\_layout\_panel” to “FlowLayoutPanel” ? As it’s used all over the place when calling methods, I thought that maybe I could…

---

## [Git push](https://www.ruby-forum.com/t/git-push/162231)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 3:01am UTC](https://www.ruby-forum.com/t/git-push/162231 "2009-03-07T03:01:27Z")

</div>

Sorry about missing yesterday. I was out sick. JD

---

## [Code Review: interop3](https://www.ruby-forum.com/t/code-review-interop3/162225)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 12:32am UTC](https://www.ruby-forum.com/t/code-review-interop3/162225 "2009-03-07T00:32:41Z")

</div>

tfpt review “/shelveset:interop3;REDMOND\\jdeville” Comment : Rearrange .NET tests according to the new test structure Add the csc method to inline C# fixtures into the Ruby code +++++++++++++++++++++++++++++++++++ I…

---

## [Please test ironrubymvc](https://www.ruby-forum.com/t/please-test-ironrubymvc/162160)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 5\
**Last updated:** [March 6, 2009, 11:01pm UTC](https://www.ruby-forum.com/t/please-test-ironrubymvc/162160 "2009-03-06T23:01:15Z")

</div>

Hi I’m going to take this weekend to add some more error checking to IronRuby MVC and to create a readme with a quick sample. But as things stand I think you should have a usable version of IronRuby MVC currently i…

---

## [Comparing CLR strings and Ruby strings - a slightly surprising behaviour](https://www.ruby-forum.com/t/comparing-clr-strings-and-ruby-strings-a-slightly-surprising-behaviour/161923)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 28\
**Last updated:** [March 6, 2009, 9:09pm UTC](https://www.ruby-forum.com/t/comparing-clr-strings-and-ruby-strings-a-slightly-surprising-behaviour/161923 "2009-03-06T21:09:35Z")

</div>

Hi, while writing specs for Magic, I noticed that: instance\_from(MenuItem, “Hello”).text.to\_s.should == “Hello” to\_s is required to get the assertion to pass. The following will return false: button = Button.new bu…

---

## [Typeof?](https://www.ruby-forum.com/t/typeof/162125)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 2\
**Last updated:** [March 6, 2009, 12:35am UTC](https://www.ruby-forum.com/t/typeof/162125 "2009-03-06T00:35:27Z")

</div>

Having another go at some WCF stuff again. I have a C# method that accepts a type. I want to pass it an interface. interface IMyInterface; public void DoStuff( Type t ); DoStuff( typeof(IMyInterface) ); From the ru…

---

## [Possible problem on mono](https://www.ruby-forum.com/t/possible-problem-on-mono/160851)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 18\
**Last updated:** [March 6, 2009, 12:00am UTC](https://www.ruby-forum.com/t/possible-problem-on-mono/160851 "2009-03-06T00:00:51Z")

</div>

Hi When I try to run the igem script on mono it always comes back with a NullReferenceException. igem list --debug --backtrace ERROR: While executing gem … (System::NullReferenceException) Object reference not set …

---

## [Code Review: MiscFixes.2](https://www.ruby-forum.com/t/code-review-miscfixes-2/162119)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [March 5, 2009, 10:50pm UTC](https://www.ruby-forum.com/t/code-review-miscfixes-2/162119 "2009-03-05T22:50:23Z")

</div>

tfpt review “/shelveset:MiscFixes.2;REDMOND\\tomat” Comment : (MiscFixes.2) Fixes bugs: Protocols.IsEqual should compare references first before calling == method. Exception#initialize should reset backtrace to nil…

---

## [\[patch\] Issue in DLR.CommandLine with new lines](https://www.ruby-forum.com/t/patch-issue-in-dlr-commandline-with-new-lines/161891)

<div class="topic-metadata">

**Author:** [@Jb\_Evain](https://www.ruby-forum.com/u/Jb_Evain)\
**Replies:** 24\
**Last updated:** [March 5, 2009, 7:07pm UTC](https://www.ruby-forum.com/t/patch-issue-in-dlr-commandline-with-new-lines/161891 "2009-03-05T19:07:24Z")

</div>

Hey, I spent some time investigating why on Mono ir.exe (last git revision) doesn’t print the result of evaluations. The issue lies in the processing of new lines in Microsoft.Scripting.Core.Hosting.Shell.CommandLine…

[Previous page](https://www.ruby-forum.com/c/ruby/ironruby/27.md?page=35)

[Next page](https://www.ruby-forum.com/c/ruby/ironruby/27.md?page=37)
