# IronRuby

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

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

---

## [Running IR in an isolated AppDomain](https://www.ruby-forum.com/t/running-ir-in-an-isolated-appdomain/176638)

<div class="topic-metadata">

**Author:** [@Pascal\_Normandin](https://www.ruby-forum.com/u/Pascal_Normandin)\
**Replies:** 3\
**Last updated:** [October 4, 2009, 8:30am UTC](https://www.ruby-forum.com/t/running-ir-in-an-isolated-appdomain/176638 "2009-10-04T08:30:39Z")

</div>

Hello, I’m trying to add scripting capability to a wiki type web application with IronRuby. I want to run IR in a low trust environment with only access to variables provided in the scope. Those variables are help…

---

## [Code Review: Win32APIPlatformCheck](https://www.ruby-forum.com/t/code-review-win32apiplatformcheck/176645)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [October 4, 2009, 1:45am UTC](https://www.ruby-forum.com/t/code-review-win32apiplatformcheck/176645 "2009-10-04T01:45:40Z")

</div>

tfpt review “/shelveset:Win32APIPlatformCheck;REDMOND\\tomat” Comment : Adds Win32 platform check to Win32API.rb. Tomas

---

## [Head broken on non-windows](https://www.ruby-forum.com/t/head-broken-on-non-windows/176646)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 10:16pm UTC](https://www.ruby-forum.com/t/head-broken-on-non-windows/176646 "2009-10-03T22:16:06Z")

</div>

Hi github HEAD version is broken on non windows machines. IronRuby incorrectly reports it’s running on windows, I can fix that in the build but if there will by binary distributions an installer or something needs …

---

## [Win32api breaks gems on mono](https://www.ruby-forum.com/t/win32api-breaks-gems-on-mono/176633)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 5:29pm UTC](https://www.ruby-forum.com/t/win32api-breaks-gems-on-mono/176633 "2009-10-03T17:29:53Z")

</div>

Hi The new win32api additions don’t work on another OS than windows. This breaks rubygems and most likely rightly so. +ivan@ivan-mbp:~/Downloads/ironruby-2be42fd Â» igem list IronRuby.Libraries:0:in GetFunction': Lo…

---

## [Possible ScriptEngine and parsing bug when converting block to a parameter](https://www.ruby-forum.com/t/possible-scriptengine-and-parsing-bug-when-converting-block-to-a-parameter/176598)

<div class="topic-metadata">

**Author:** [@dotty](https://www.ruby-forum.com/u/dotty)\
**Replies:** 2\
**Last updated:** [October 2, 2009, 9:17pm UTC](https://www.ruby-forum.com/t/possible-scriptengine-and-parsing-bug-when-converting-block-to-a-parameter/176598 "2009-10-02T21:17:37Z")

</div>

I was getting an error trying to use ScriptEngine to require ‘win32ole’ (Actually, I need this from C#, below example given because its easier to show in IronRuby): IronRuby.create\_engine.execute\_file(‘Libs\\win32ol…

---

## [IronRuby on NetBeans](https://www.ruby-forum.com/t/ironruby-on-netbeans/176570)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 3\
**Last updated:** [October 2, 2009, 5:45pm UTC](https://www.ruby-forum.com/t/ironruby-on-netbeans/176570 "2009-10-02T17:45:05Z")

</div>

Hi friends, I was trying to use IronRuby as a Ruby platform in NetBeans but without any success. It keeps telling me that the interpreter doesn’t seem to be a valid Ruby interpreter. This is what I have tried witho…

---

## [Calling non class methods from C#](https://www.ruby-forum.com/t/calling-non-class-methods-from-c/176517)

<div class="topic-metadata">

**Author:** [@skyrebel](https://www.ruby-forum.com/u/skyrebel)\
**Replies:** 4\
**Last updated:** [October 2, 2009, 12:00am UTC](https://www.ruby-forum.com/t/calling-non-class-methods-from-c/176517 "2009-10-02T00:00:11Z")

</div>

Dear users, I have found how to invoke class methods and use its result in the C# application. However I can’t seem to find how to invoke methodes located outside of a class. So I started wondering if this is at all …

---

## [Calling ruby scripts from C#](https://www.ruby-forum.com/t/calling-ruby-scripts-from-c/176436)

<div class="topic-metadata">

**Author:** [@skyrebel](https://www.ruby-forum.com/u/skyrebel)\
**Replies:** 13\
**Last updated:** [October 1, 2009, 9:25am UTC](https://www.ruby-forum.com/t/calling-ruby-scripts-from-c/176436 "2009-10-01T09:25:40Z")

</div>

Dear users, I want to build a testscript scheduler / executer in C# that runs several Ruby scripts in sequence. For this I use IronRuby with the following constuction: ScriptRuntime runtime = Ruby.CreateRuntime(); S…

---

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

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [October 1, 2009, 7:06am UTC](https://www.ruby-forum.com/t/code-review-legacyfix/176484 "2009-10-01T07:06:14Z")

</div>

tfpt review “/shelveset:legacyfix;REDMOND\\jdeville” Comment : Stopgap fix to legacy tests before I rewrite the runner. This just makes the tests pass on a MERLIN\_ROOT environment where the checked in Ruby is not pre…

---

## [\[Code Review\] Ruby project scripts - work items](https://www.ruby-forum.com/t/code-review-ruby-project-scripts-work-items/176468)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 0\
**Last updated:** [September 30, 2009, 11:29pm UTC](https://www.ruby-forum.com/t/code-review-ruby-project-scripts-work-items/176468 "2009-09-30T23:29:03Z")

</div>

Initial Ruby project scripts: get all closed/fixed work-items since a specific date. http://github.com/jschementi/ironruby/commit/1d6592281451e00ae42ba3aca29d8289fb1a0545 Uses Watir and Nokogiri to scrape work-items o…

---

## [FYI review: Fix for SL build](https://www.ruby-forum.com/t/fyi-review-fix-for-sl-build/176454)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [September 30, 2009, 8:32pm UTC](https://www.ruby-forum.com/t/fyi-review-fix-for-sl-build/176454 "2009-09-30T20:32:49Z")

</div>

Fix to irtests.rb for changing Silverlight install folder (it has changed once again to 3.0.40818.0)

---

## [Code Review: ShellExec7](https://www.ruby-forum.com/t/code-review-shellexec7/176455)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [September 30, 2009, 8:00pm UTC](https://www.ruby-forum.com/t/code-review-shellexec7/176455 "2009-09-30T20:00:02Z")

</div>

tfpt review “/shelveset:ShellExec7;REDMOND\\tomat” Comment : Fixes issues with Kernel#, system and exec. Paths with spaces and shell commands were not handled correctly. Also fixes a bug in mspec/lib/mspec/helpers/ruby…

---

## [Clear ScriptEngine Global Variables](https://www.ruby-forum.com/t/clear-scriptengine-global-variables/176440)

<div class="topic-metadata">

**Author:** [@acampos](https://www.ruby-forum.com/u/acampos)\
**Replies:** 6\
**Last updated:** [September 30, 2009, 6:43pm UTC](https://www.ruby-forum.com/t/clear-scriptengine-global-variables/176440 "2009-09-30T18:43:53Z")

</div>

Hi, Is there anyway to clear all global variables from the IronRuby script engine? For example if I define a variable in a script and execute it: $myVar = “Hello” And then execute another script in a new scriptscope…

---

## [0.9.1 regression](https://www.ruby-forum.com/t/0-9-1-regression/176424)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [September 30, 2009, 10:57am UTC](https://www.ruby-forum.com/t/0-9-1-regression/176424 "2009-09-30T10:57:51Z")

</div>

Hi I’d love to log this as a bug but I can’t track down why. This is the code for a ResultFilter with IronRuby MVC class LightspeedFilter \< ResultFilter def on\_result\_executing(context) # put before result filtering…

---

## [Another 0.9.1 regression](https://www.ruby-forum.com/t/another-0-9-1-regression/176392)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 3\
**Last updated:** [September 30, 2009, 2:59am UTC](https://www.ruby-forum.com/t/another-0-9-1-regression/176392 "2009-09-30T02:59:34Z")

</div>

I have a C# method with the following signature static class IItemExtensions { static void getLock(this Interop.IItem item, object session, out Interop.ILock lock, out string lockedBy); } I am calling it from IronR…

---

## [0.9.1 regression when creating System::Array of clr enum values](https://www.ruby-forum.com/t/0-9-1-regression-when-creating-system-array-of-clr-enum-values/176391)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 4\
**Last updated:** [September 30, 2009, 2:58am UTC](https://www.ruby-forum.com/t/0-9-1-regression-when-creating-system-array-of-clr-enum-values/176391 "2009-09-30T02:58:23Z")

</div>

I have a CLR dll which declares an enumeration FieldID. It’s just an ordinary C# enum I have the following code which used to work under 0.9 fields\_to\_read = \[FieldID.DBID, FieldID.Name\] clr\_fields = System::Array\[Fi…

---

## [IronRuby 0.9.1](https://www.ruby-forum.com/t/ironruby-0-9-1/176389)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 1\
**Last updated:** [September 30, 2009, 12:43am UTC](https://www.ruby-forum.com/t/ironruby-0-9-1/176389 "2009-09-30T00:43:07Z")

</div>

Congrats on the release! It solves a few of the bugs I’ve encountered and overall seems a bit faster which is always good. It’s getting really nice to use these days. We are using it internally for automated UI testi…

---

## [\[ANN\] IronRuby 0.9.1 Released](https://www.ruby-forum.com/t/ann-ironruby-0-9-1-released/176333)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 0\
**Last updated:** [September 29, 2009, 9:13am UTC](https://www.ruby-forum.com/t/ann-ironruby-0-9-1-released/176333 "2009-09-29T09:13:52Z")

</div>

The IronRuby team is pleased to release version 0.9.1! IronRuby.net / Get IronRuby Direct download link: http://ironruby.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=30916#DownloadId=85513 As IronRuby approach…

---

## [IR -e not returning error codes properly](https://www.ruby-forum.com/t/ir-e-not-returning-error-codes-properly/176324)

<div class="topic-metadata">

**Author:** [@Xerxes\_Battiwalla](https://www.ruby-forum.com/u/Xerxes_Battiwalla)\
**Replies:** 1\
**Last updated:** [September 29, 2009, 6:27am UTC](https://www.ruby-forum.com/t/ir-e-not-returning-error-codes-properly/176324 "2009-09-29T06:27:02Z")

</div>

This problem manifests itself when running rspec tests under IronRuby (through our Rakefile), and I think i’ve found a simple reproduction of the issue using the following command-line sequence. MRI does this: D:\>ruby…

---

## [Tag messup](https://www.ruby-forum.com/t/tag-messup/176323)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [September 29, 2009, 5:37am UTC](https://www.ruby-forum.com/t/tag-messup/176323 "2009-09-29T05:37:51Z")

</div>

Ok, I messed up, and I pushed out an earlier version tagged as v0.9.1. I then fixed something, and retagged the fixed tree as v0.9.1 again. If you got the wrong tag, and want the new one, please delete the old one and…

---

## [Using xbuild to build ironruby](https://www.ruby-forum.com/t/using-xbuild-to-build-ironruby/176122)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [September 24, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/using-xbuild-to-build-ironruby/176122 "2009-09-24T23:56:00Z")

</div>

Hi You can build the plain ironruby repository with mono’s xbuild now. I know Jim was interested in that for the rake file. You need mono trunk though MONO\_IOMAP=case xbuild Ruby.sln /p:TreatWarningsAsErrors=false M…

---

## [Is there a But keyword in Cucumber?](https://www.ruby-forum.com/t/is-there-a-but-keyword-in-cucumber/176105)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 10\
**Last updated:** [September 24, 2009, 11:32pm UTC](https://www.ruby-forum.com/t/is-there-a-but-keyword-in-cucumber/176105 "2009-09-24T23:32:35Z")

</div>

I am using Cucumber and now I need to use a But keyword (if there is any) Scenario Outline: Find if the number if prime or not Given I have a number When I pass the to the prime service Then the service should disp…

---

## [Code Review: C11](https://www.ruby-forum.com/t/code-review-c11/176108)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [September 24, 2009, 10:11pm UTC](https://www.ruby-forum.com/t/code-review-c11/176108 "2009-09-24T22:11:46Z")

</div>

tfpt review “/shelveset:C11;REDMOND\\tomat” DLR: Adds ToReverseArray to CollectionUtils. Ruby: Implements constant access caching. We use a single per-runtime constant access version (CAV) which increases each time a…

---

## [CLR Properties in IronRuby](https://www.ruby-forum.com/t/clr-properties-in-ironruby/176056)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 2\
**Last updated:** [September 24, 2009, 6:23am UTC](https://www.ruby-forum.com/t/clr-properties-in-ironruby/176056 "2009-09-24T06:23:21Z")

</div>

How can I refer to the CLR properties in IronRuby. public class Customer { public string FirstName { get;set; } } In Ruby: @customer.FirstName = ‘s’ OR @customer.firstname = ‘s’

---

## [Cucumber Problems with IronRuby](https://www.ruby-forum.com/t/cucumber-problems-with-ironruby/175970)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 2\
**Last updated:** [September 24, 2009, 2:30am UTC](https://www.ruby-forum.com/t/cucumber-problems-with-ironruby/175970 "2009-09-24T02:30:56Z")

</div>

Hi, I am trying to get Cucumber to work with IronRuby and .NET class. For some reason it does not like the describe keyword from spec and before keyword. Here is the feature file: Feature: Addition In order to avo…

---

## [Re: Seems like it is loading from the Ruby	libraries instead of IronRuby gems](https://www.ruby-forum.com/t/re-seems-like-it-is-loading-from-the-ruby-libraries-instead-of-ironruby-gems/176019)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 5\
**Last updated:** [September 23, 2009, 8:01pm UTC](https://www.ruby-forum.com/t/re-seems-like-it-is-loading-from-the-ruby-libraries-instead-of-ironruby-gems/176019 "2009-09-23T20:01:37Z")

</div>

Can you start a new cmd process, run dev.bat, and then run “set” and paste that output? Thanks JD From: Mohammad A. removed\_email\_address@domain.invalid Sent: September 23, 2009 9:15 AM To: removed\_email\_address@d…

---

## [Code coverage of ironruby code](https://www.ruby-forum.com/t/code-coverage-of-ironruby-code/175985)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 4\
**Last updated:** [September 23, 2009, 6:57pm UTC](https://www.ruby-forum.com/t/code-coverage-of-ironruby-code/175985 "2009-09-23T18:57:47Z")

</div>

Hi Is there a way to get the code coverage when running RSpec or Test::Unit stuff with ironruby? It would help me a lot to set build tresholds etc. Because I guess the C# tools won’t be able to do it and the ruby tool…

---

## [Seems like it is loading from the Ruby libraries instead of IronRuby gems](https://www.ruby-forum.com/t/seems-like-it-is-loading-from-the-ruby-libraries-instead-of-ironruby-gems/175937)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 14\
**Last updated:** [September 23, 2009, 6:40pm UTC](https://www.ruby-forum.com/t/seems-like-it-is-loading-from-the-ruby-libraries-instead-of-ironruby-gems/175937 "2009-09-23T18:40:13Z")

</div>

– Mohammad A. MVP (Microsoft Valuable Professional) www.highoncoding.com

---

## [Before is different from Before](https://www.ruby-forum.com/t/before-is-different-from-before/175968)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 2\
**Last updated:** [September 23, 2009, 5:56pm UTC](https://www.ruby-forum.com/t/before-is-different-from-before/175968 "2009-09-23T17:56:17Z")

</div>

I found this the hard way. When using Cucumber with IronRuby before is different from Before. The later one (Before) should be used when working with Cucumber. before should be used when working with spec. Now I know…

---

## [Re: code coverage of ironruby code](https://www.ruby-forum.com/t/re-code-coverage-of-ironruby-code/176004)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [September 23, 2009, 4:46pm UTC](https://www.ruby-forum.com/t/re-code-coverage-of-ironruby-code/176004 "2009-09-23T16:46:36Z")

</div>

Both of those libraries have integration with rcov, so if you were to look into porting that library it might help. Otherwise we may need to look into writing something custom. From: Ivan Porto C. removed\_email\_addre…

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

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