# IronRuby

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

[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:** 42

---

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

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [January 8, 2009, 10:39pm UTC](https://www.ruby-forum.com/t/code-review-rakefixes/157259 "2009-01-08T22:39:18Z")

</div>

FYI. Going in as a direct commit. tfpt review “/shelveset:rakefixes;REDMOND\\jdeville” Comment : fixes some versioning and file ignores for Git integration

---

## [Code Review: hangs in core\\thread](https://www.ruby-forum.com/t/code-review-hangs-in-core-thread/157087)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 5\
**Last updated:** [January 8, 2009, 8:53pm UTC](https://www.ruby-forum.com/t/code-review-hangs-in-core-thread/157087 "2009-01-08T20:53:55Z")

</div>

tfpt review “/shelveset:hangs;REDMOND\\sborde” Comment : Non-deterministic fixes. I ran all the core\\thread specs in a loop in multiple processes and ran into a few non-deterministic failures. This change fixes every…

---

## [Require my assembly](https://www.ruby-forum.com/t/require-my-assembly/157243)

<div class="topic-metadata">

**Author:** [@veganopolis](https://www.ruby-forum.com/u/veganopolis)\
**Replies:** 2\
**Last updated:** [January 8, 2009, 8:02pm UTC](https://www.ruby-forum.com/t/require-my-assembly/157243 "2009-01-08T20:02:14Z")

</div>

Hi, I’m new to IronRuby. I’m trying to require a .net assembly but I have the following error message. Any help will be very much appreciated. Note : MyApp.Application.dll references MyApp.Core.dll and both are in the…

---

## [Resolving a bug on RubyForge](https://www.ruby-forum.com/t/resolving-a-bug-on-rubyforge/157235)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 2\
**Last updated:** [January 8, 2009, 7:37pm UTC](https://www.ruby-forum.com/t/resolving-a-bug-on-rubyforge/157235 "2009-01-08T19:37:57Z")

</div>

What is the process for resolving a fixed bug? If I mark it as closed, Jim, will you get a chance to verify that it is actually fixed and to ensure that there is sufficient test coverage for the immediate issue as wel…

---

## [Spec Coverage](https://www.ruby-forum.com/t/spec-coverage/157234)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [January 8, 2009, 7:12pm UTC](https://www.ruby-forum.com/t/spec-coverage/157234 "2009-01-08T19:12:03Z")

</div>

Just to let people know where we are: ruby core 1118 files, 4850 examples, 18036 expectations, 82 failures, 219 errors 1118 files, 4731 examples, 15341 expectations, 520 failures, 724 errors 14097/18063 = 78.0 ruby …

---

## [Problem calling explicit interface methods](https://www.ruby-forum.com/t/problem-calling-explicit-interface-methods/157197)

<div class="topic-metadata">

**Author:** [@alex\_2k8](https://www.ruby-forum.com/u/alex_2k8)\
**Replies:** 6\
**Last updated:** [January 8, 2009, 7:12pm UTC](https://www.ruby-forum.com/t/problem-calling-explicit-interface-methods/157197 "2009-01-08T19:12:03Z")

</div>

Hello, I am trying to call explicitly implemented interface method, but get such error undefined method \`bar’ for #App::Cls:0x000005c C# code: public interface IFoo { void Bar(); } public class Cls : IFoo { …

---

## [Problem calling CLR method](https://www.ruby-forum.com/t/problem-calling-clr-method/157167)

<div class="topic-metadata">

**Author:** [@alex\_2k8](https://www.ruby-forum.com/u/alex_2k8)\
**Replies:** 3\
**Last updated:** [January 8, 2009, 6:06pm UTC](https://www.ruby-forum.com/t/problem-calling-clr-method/157167 "2009-01-08T18:06:39Z")

</div>

Hello, I can’t call the object’s method, thought it exists. My ruby script: Let’s dump .Net methods far.get\_type.get\_methods.each { |m| p m.name } Try to call ‘RegisterTool’ method begin far.register\_tool rescue =\>…

---

## [Enumerate CLR methods](https://www.ruby-forum.com/t/enumerate-clr-methods/157165)

<div class="topic-metadata">

**Author:** [@alex\_2k8](https://www.ruby-forum.com/u/alex_2k8)\
**Replies:** 2\
**Last updated:** [January 8, 2009, 5:05pm UTC](https://www.ruby-forum.com/t/enumerate-clr-methods/157165 "2009-01-08T17:05:41Z")

</div>

Hello, How to enumerate the CLR object methods? I whould like to write some thing like this: require ‘System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ include System::Windows…

---

## [ScratchPad versus Channel in RubySpec](https://www.ruby-forum.com/t/scratchpad-versus-channel-in-rubyspec/157090)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 1\
**Last updated:** [January 7, 2009, 9:33pm UTC](https://www.ruby-forum.com/t/scratchpad-versus-channel-in-rubyspec/157090 "2009-01-07T21:33:35Z")

</div>

Many tests use Channel to collect data that needs to be tested. For example, the following in inspect\_spec.rb. compliant\_on(:ruby) do it “reports aborting on a killed thread” do c = Channel.new t = Thread.new { c \<\< …

---

## [Compliant\_on(:ruby) in RubySpecs](https://www.ruby-forum.com/t/compliant-on-ruby-in-rubyspecs/157089)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [January 7, 2009, 9:33pm UTC](https://www.ruby-forum.com/t/compliant-on-ruby-in-rubyspecs/157089 "2009-01-07T21:33:00Z")

</div>

I noticed that besides not\_compliant\_on to disable tests on specific Ruby implementations, there is also compliant\_on to enable tests only on selected implementations. There are ~120 such instances. To make IronRuby c…

---

## [Comments in the RubySpec tag files](https://www.ruby-forum.com/t/comments-in-the-rubyspec-tag-files/157086)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [January 7, 2009, 9:14pm UTC](https://www.ruby-forum.com/t/comments-in-the-rubyspec-tag-files/157086 "2009-01-07T21:14:11Z")

</div>

I added a few comments to critical\_tags.txt like this: fails(“need to track which thread owns critical lock”):Thread.critical defers exit This will help the next person who tries to fix the bug, and also as just docu…

---

## [Should equal in RubySpecs](https://www.ruby-forum.com/t/should-equal-in-rubyspecs/157092)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [January 7, 2009, 8:58pm UTC](https://www.ruby-forum.com/t/should-equal-in-rubyspecs/157092 "2009-01-07T20:58:41Z")

</div>

I noticed this in core\\thread\\current\_spec.rb. it “returns the current thread” do t = Thread.new { Thread.current } t.value.should equal(t) Thread.current.should\_not equal(t.value) end Is this any different than wr…

---

## [Ruby version at ruby-doc.org](https://www.ruby-forum.com/t/ruby-version-at-ruby-doc-org/157142)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 1\
**Last updated:** [January 7, 2009, 8:56pm UTC](https://www.ruby-forum.com/t/ruby-version-at-ruby-doc-org/157142 "2009-01-07T20:56:13Z")

</div>

What Ruby version does ruby-doc.org refer to? The main page has links to 1.8.6, 1.8.7, and 1.9. Following 1.8.6 for Thread takes me to class Thread - RDoc Documentation which lists Thread.exclusive as an api. However,…

---

## [Thread status tests](https://www.ruby-forum.com/t/thread-status-tests/157091)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 2\
**Last updated:** [January 7, 2009, 8:44pm UTC](https://www.ruby-forum.com/t/thread-status-tests/157091 "2009-01-07T20:44:28Z")

</div>

There are four ways to check the status of threads, Thread#status, Thread#inspect, Thread#alive?, and Thread#stop?. Any objection to adding a single shared file which checks the result of all the four APIs? It won’t f…

---

## [More gem trouble but different now](https://www.ruby-forum.com/t/more-gem-trouble-but-different-now/157110)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [January 7, 2009, 12:40pm UTC](https://www.ruby-forum.com/t/more-gem-trouble-but-different-now/157110 "2009-01-07T12:40:52Z")

</div>

Hi I got the latest svn revision for ironruby (r. 182). I tried upgrading rubygems to version 1.3.1 (rails 2.2.2 needs it) And it has a similar problem with the path name. it fails with a directory not found exceptio…

---

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

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [January 7, 2009, 12:51am UTC](https://www.ruby-forum.com/t/code-review-compilefix/157063 "2009-01-07T00:51:44Z")

</div>

FYI code review. I’m going to direct commit this, and it is already in SVN. tfpt review “/shelveset:compilefix;REDMOND\\jdeville” Comment : Fix to allow rake to compile.

---

## [SVN revision](https://www.ruby-forum.com/t/svn-revision/157060)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [January 7, 2009, 12:30am UTC](https://www.ruby-forum.com/t/svn-revision/157060 "2009-01-07T00:30:39Z")

</div>

I’ve just committed a new SVN revision (182). I won’t be doing a Git commit because I’m trying to get some internal changes fixed. I hope to get those changes done tonight, so I can push a new commit tomorrow. JD

---

## [Code Review: InitAndScopes6](https://www.ruby-forum.com/t/code-review-initandscopes6/157045)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 2\
**Last updated:** [January 6, 2009, 10:52pm UTC](https://www.ruby-forum.com/t/code-review-initandscopes6/157045 "2009-01-06T22:52:10Z")

</div>

tfpt review “/shelveset:InitAndScopes6;REDMOND\\tomat” Outer-ring DLR changes (Hosting API implementation): Any code compilation/execution without explicitly given scope should eventually call SourceUnit.Compile overlo…

---

## [Kernel#puts and Kernel#print with NaN and Infinity values](https://www.ruby-forum.com/t/kernel-puts-and-kernel-print-with-nan-and-infinity-values/157027)

<div class="topic-metadata">

**Author:** [@murena](https://www.ruby-forum.com/u/murena)\
**Replies:** 2\
**Last updated:** [January 6, 2009, 5:48pm UTC](https://www.ruby-forum.com/t/kernel-puts-and-kernel-print-with-nan-and-infinity-values/157027 "2009-01-06T17:48:06Z")

</div>

Hello, while I was filing a bug report regarding a different behaviour of Math#hypot compared to the one verified under MRI 1.8.6 (see http://is.gd/eGHa), I noticed that when a Float instance holds the values NaN or …

---

## [Code Review: Thread.critical](https://www.ruby-forum.com/t/code-review-thread-critical/156953)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [January 6, 2009, 7:05am UTC](https://www.ruby-forum.com/t/code-review-thread-critical/156953 "2009-01-06T07:05:04Z")

</div>

tfpt review “/shelveset:critical;REDMOND\\sborde” Microsoft.Scripting.dll: Fix to interpreter to get better stack trace even when call-site caching kicks in. The try-catch needs to be added to all code that can throw …

---

## [ASP.NET integration?](https://www.ruby-forum.com/t/asp-net-integration/156957)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 1\
**Last updated:** [January 5, 2009, 11:52pm UTC](https://www.ruby-forum.com/t/asp-net-integration/156957 "2009-01-05T23:52:58Z")

</div>

As my chapter on Rails is coming to an end I’d like to find out how things are going for ASP.NET webforms or asp.net MVC integration. Do you guys have an idea as to when we could expect something like this? Met vrie…

---

## [Loading Assemblies](https://www.ruby-forum.com/t/loading-assemblies/155235)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 8\
**Last updated:** [January 5, 2009, 10:23pm UTC](https://www.ruby-forum.com/t/loading-assemblies/155235 "2009-01-05T22:23:14Z")

</div>

Hello, Just been playing around with some interop with our SDK. This is our setup. SDK is installed into C:\\Program Files\\SDK\\ ir is C:\\IronRuby\\ir.exe I then add C:\\IronRuby to my path folder. I attempt to do the…

---

## [Error retrieving from github](https://www.ruby-forum.com/t/error-retrieving-from-github/156924)

<div class="topic-metadata">

**Author:** [@trptcolin](https://www.ruby-forum.com/u/trptcolin)\
**Replies:** 4\
**Last updated:** [January 5, 2009, 4:56pm UTC](https://www.ruby-forum.com/t/error-retrieving-from-github/156924 "2009-01-05T16:56:06Z")

</div>

Hi, I’ve been trying to get IronRuby from GIT using the steps in Ben’s blog (Downloading IronRuby from GitHub – Ben Hall's Blog) but keep getting this error: github.com\[0: 65.74.177.129\]: errno=Invalid argument fata…

---

## [IronRuby and VS2010](https://www.ruby-forum.com/t/ironruby-and-vs2010/156865)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 2\
**Last updated:** [January 4, 2009, 6:17pm UTC](https://www.ruby-forum.com/t/ironruby-and-vs2010/156865 "2009-01-04T18:17:32Z")

</div>

Hello, I’ve just been playing around with IronRuby and VS2010. If I understand the situation correctly, Microsoft.Scripting.Core has been integrated into .Net 4.0, leaving Microsoft.Scripting to hold the Ast and the…

---

## [Problems with Mutex and ConditionVariable under IronRuby](https://www.ruby-forum.com/t/problems-with-mutex-and-conditionvariable-under-ironruby/156755)

<div class="topic-metadata">

**Author:** [@murena](https://www.ruby-forum.com/u/murena)\
**Replies:** 4\
**Last updated:** [January 3, 2009, 12:17pm UTC](https://www.ruby-forum.com/t/problems-with-mutex-and-conditionvariable-under-ironruby/156755 "2009-01-03T12:17:24Z")

</div>

Hello, I was playing with threads under IronRuby but it seems like I have stumbled on problems with Mutex and ConditionVariable. At first I thought the problem was related to my code even if it actually worked flawle…

---

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

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 4\
**Last updated:** [January 2, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/code-review-rakecrossplatform/156678 "2009-01-02T21:10:24Z")

</div>

tfpt review “/shelveset:rakecrossplatform;REDMOND\\jdeville” Comment : Fixes the imports to reference the files in a platform agnostic way.

---

## [Determining line number of runtime errors](https://www.ruby-forum.com/t/determining-line-number-of-runtime-errors/155378)

<div class="topic-metadata">

**Author:** [@bvanderveen](https://www.ruby-forum.com/u/bvanderveen)\
**Replies:** 8\
**Last updated:** [January 2, 2009, 6:10am UTC](https://www.ruby-forum.com/t/determining-line-number-of-runtime-errors/155378 "2009-01-02T06:10:32Z")

</div>

Hello all, I’m just wondering if there’s any way to see what line of the source code was being executed when an error occurred. This is possible when the source is being parsed/compiled/interpreted by inspecting Synt…

---

## [Xml Processing in IronRuby - Help me improve the wrapper](https://www.ruby-forum.com/t/xml-processing-in-ironruby-help-me-improve-the-wrapper/156714)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 2\
**Last updated:** [January 1, 2009, 7:42pm UTC](https://www.ruby-forum.com/t/xml-processing-in-ironruby-help-me-improve-the-wrapper/156714 "2009-01-01T19:42:02Z")

</div>

Hello, I’ve just been playing around with IronRuby and processing some XML from a REST service. I’ve created this wrapper: require ‘mscorlib’ require ‘System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c…

---

## [Need help building IronRuby on Mono 2 + OS X](https://www.ruby-forum.com/t/need-help-building-ironruby-on-mono-2-os-x/156567)

<div class="topic-metadata">

**Author:** [@CSKSPonnappa](https://www.ruby-forum.com/u/CSKSPonnappa)\
**Replies:** 16\
**Last updated:** [December 31, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/need-help-building-ironruby-on-mono-2-os-x/156567 "2008-12-31T18:30:42Z")

</div>

Hey guys, I’m running on OS X 10.5.5 with Mono 2.0 (installed via Ports). I ran rake compile mono=1 I do have pathname2 installed and am using IronRuby trunk revision 180. I get the following error: ~/Work/ruby/iron…

---

## [Problems with gems](https://www.ruby-forum.com/t/problems-with-gems/156652)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 1\
**Last updated:** [December 31, 2008, 5:39pm UTC](https://www.ruby-forum.com/t/problems-with-gems/156652 "2008-12-31T17:39:05Z")

</div>

Hi I tried to install the rails gem using igem. Is that supposed to work? Â» igem install rails ERROR: Error installing rails: attempt to install file into “test/fixtures/test\_mailer/implicitly\_multipart\_example.te…

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

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