# IronRuby

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

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

---

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

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 2\
**Last updated:** [May 4, 2009, 7:58am UTC](https://www.ruby-forum.com/t/git-push/167015 "2009-05-04T07:58:20Z")

</div>

Hey everyone, I usually just quietly push changes out, but I wanted to say something about the changes that went out today. Today’s changes have changed the interpreter to be an Adaptive Compiling interpreter. For tho…

---

## [Code Review: InterpreterFixAndRemoval](https://www.ruby-forum.com/t/code-review-interpreterfixandremoval/167055)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [May 2, 2009, 11:03pm UTC](https://www.ruby-forum.com/t/code-review-interpreterfixandremoval/167055 "2009-05-02T23:03:06Z")

</div>

tfpt review “/shelveset:InterpreterFixAndRemoval;REDMOND\\tomat” (interpreter change reviewed by John). Interpreter: Fixes a bug in interpreter - if an exception was thrown in a finally clause the handler of that exce…

---

## [Code Review: NewInterpreterAndRubyCF](https://www.ruby-forum.com/t/code-review-newinterpreterandrubycf/167011)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [May 1, 2009, 11:05pm UTC](https://www.ruby-forum.com/t/code-review-newinterpreterandrubycf/167011 "2009-05-01T23:05:53Z")

</div>

Fixes bugs in the new interpreter and implements more features to support IronRuby. Control flow a) Branches One of the most complicated cases is: { f(1, 2, try { g(3, 4, try { goto L } finally { … }, 6) …

---

## [Re: apparently only with extension methods nil != System::Object](https://www.ruby-forum.com/t/re-apparently-only-with-extension-methods-nil-system-object/166974)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [May 1, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/re-apparently-only-with-extension-methods-nil-system-object/166974 "2009-05-01T16:25:08Z")

</div>

I’ve done some more investigation and it appears that it has to do with Extension methods. public static bool IsNull(this object value) { return value == null; } and public static bool IsNull2(object value) { re…

---

## [Overriding unsafe methods](https://www.ruby-forum.com/t/overriding-unsafe-methods/166966)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [May 1, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/overriding-unsafe-methods/166966 "2009-05-01T15:06:39Z")

</div>

Hi I’m still working with Kean to port his ironpython samples, but we’ve run into another problem now. He needs to override an unsafe virtual method and then call it from ruby as super. I’m calling super with no a…

---

## [Mspec troubles](https://www.ruby-forum.com/t/mspec-troubles/166954)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 1\
**Last updated:** [May 1, 2009, 11:53am UTC](https://www.ruby-forum.com/t/mspec-troubles/166954 "2009-05-01T11:53:17Z")

</div>

I followed the steps described on the wiki to be able to run the specs for ironruby but when I then execute rake test I get the following output: C:\\tools\\ironruby\\merlin\\main\\Languages\\Ruby (master) Â» rake test …

---

## [Nil != null?](https://www.ruby-forum.com/t/nil-null/166951)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [May 1, 2009, 10:19am UTC](https://www.ruby-forum.com/t/nil-null/166951 "2009-05-01T10:19:33Z")

</div>

Hi I had specs that used to work but now apparently they don’t anymore. I’d expect that a nil from ruby maps to null in C# but this doesn’t seem to be the case. I’m using the following code public static bool I…

---

## [OpenSSL::X509::Certificate](https://www.ruby-forum.com/t/openssl-certificate/166819)

<div class="topic-metadata">

**Author:** [@jirapong](https://www.ruby-forum.com/u/jirapong)\
**Replies:** 1\
**Last updated:** [April 30, 2009, 10:37pm UTC](https://www.ruby-forum.com/t/openssl-certificate/166819 "2009-04-30T22:37:24Z")

</div>

Hi, I got following methods/attributes implement in OpenSSL::X509::Certificate new → certb new(data) → cert subject issuer serial to\_s inspect Commits: http://github.com/Jirapong/ironruby/commit/a907d58168b772…

---

## [Inheriting from an abstract class](https://www.ruby-forum.com/t/inheriting-from-an-abstract-class/166918)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [April 30, 2009, 9:48pm UTC](https://www.ruby-forum.com/t/inheriting-from-an-abstract-class/166918 "2009-04-30T21:48:07Z")

</div>

Hi I’ve been working with Kean Walmsley to get the same samples going he has for IronPython but with IronRuby. In this process he’s inheriting of an abstract class inside the autocad assemblies, but when that new ru…

---

## [Re: mspec error undefined method \`filtered' for	MSpecScript:Class](https://www.ruby-forum.com/t/re-mspec-error-undefined-method-filtered-for-mspecscript-class/166814)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 5\
**Last updated:** [April 29, 2009, 9:30pm UTC](https://www.ruby-forum.com/t/re-mspec-error-undefined-method-filtered-for-mspecscript-class/166814 "2009-04-29T21:30:11Z")

</div>

The gem won’t work for now. Make sure that the mspec that runs is the Mspec in Merlin/External.LCA\_RESTRICTED. JD

---

## [Mspec error undefined method \`filtered' for MSpecScript:Class](https://www.ruby-forum.com/t/mspec-error-undefined-method-filtered-for-mspecscript-class/166811)

<div class="topic-metadata">

**Author:** [@jirapong](https://www.ruby-forum.com/u/jirapong)\
**Replies:** 0\
**Last updated:** [April 29, 2009, 8:12pm UTC](https://www.ruby-forum.com/t/mspec-error-undefined-method-filtered-for-mspecscript-class/166811 "2009-04-29T20:12:31Z")

</div>

Have any one got this error? and to fix it :slight\_smile: c:\\ironruby\\Merlin\\External.LCA\_RESTRICTED\\Languages\\IronRuby\\mspec \\default.mspec:12: undefined method filtered' for MSpecScript:Class (NoMethodError) from C:/…

---

## [Implementing get\_Item in Ruby for access in .NET](https://www.ruby-forum.com/t/implementing-get-item-in-ruby-for-access-in-net/166780)

<div class="topic-metadata">

**Author:** [@xerxesb](https://www.ruby-forum.com/u/xerxesb)\
**Replies:** 1\
**Last updated:** [April 29, 2009, 5:39pm UTC](https://www.ruby-forum.com/t/implementing-get-item-in-ruby-for-access-in-net/166780 "2009-04-29T17:39:29Z")

</div>

Hi there. We’re trying to access a ruby implementation of a Hash from .NET but having trouble getting the following snip to work require ‘Dependencies.dll’ class ParameterList include Namespace::IParameterList @…

---

## [Code Review: RubyScopes2](https://www.ruby-forum.com/t/code-review-rubyscopes2/166745)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [April 29, 2009, 5:31am UTC](https://www.ruby-forum.com/t/code-review-rubyscopes2/166745 "2009-04-29T05:31:00Z")

</div>

tfpt review “/shelveset:RubyScopes2;REDMOND\\tomat” DLR Deletes IDynamicObject and GlobalsDictionary types and Scope.GetKeys method. Adds a default implementation for ScriptCode.Run that creates a new scope and calls…

---

## [Console.Writeline - 2147483647 arguments?](https://www.ruby-forum.com/t/console-writeline-2147483647-arguments/166547)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 3\
**Last updated:** [April 27, 2009, 9:02pm UTC](https://www.ruby-forum.com/t/console-writeline-2147483647-arguments/166547 "2009-04-27T21:02:19Z")

</div>

Hello, Just tried to do the following and got an odd error: system::console::writeline(“Test”) :0: wrong number of arguments (1 for 2147483647) (ArgumentError) I do remember something similar a while ago - what…

---

## [IronRuby and RSpec](https://www.ruby-forum.com/t/ironruby-and-rspec/166584)

<div class="topic-metadata">

**Author:** [@devbanana](https://www.ruby-forum.com/u/devbanana)\
**Replies:** 1\
**Last updated:** [April 27, 2009, 5:45pm UTC](https://www.ruby-forum.com/t/ironruby-and-rspec/166584 "2009-04-27T17:45:37Z")

</div>

Hi, I’m having trouble running IronRuby with RSpec. I have a simple file just to test. The last require statement is loading the .NET assembly from my project, but it’s not actually used in this example. require ‘…

---

## [Fixes hexdigest and digest specs (SHA1)](https://www.ruby-forum.com/t/fixes-hexdigest-and-digest-specs-sha1/166517)

<div class="topic-metadata">

**Author:** [@jirapong](https://www.ruby-forum.com/u/jirapong)\
**Replies:** 0\
**Last updated:** [April 26, 2009, 8:03pm UTC](https://www.ruby-forum.com/t/fixes-hexdigest-and-digest-specs-sha1/166517 "2009-04-26T20:03:02Z")

</div>

http://github.com/Jirapong/ironruby/commit/de4e34e1530b382e5e76b484d5e6ba4b2322667a This should make digest and hexgest spec passed, however it only support SHA1. I’m going to create more spec for other encode methods. …

---

## [Status of OpenSSL](https://www.ruby-forum.com/t/status-of-openssl/166472)

<div class="topic-metadata">

**Author:** [@jirapong](https://www.ruby-forum.com/u/jirapong)\
**Replies:** 2\
**Last updated:** [April 26, 2009, 6:25am UTC](https://www.ruby-forum.com/t/status-of-openssl/166472 "2009-04-26T06:25:03Z")

</div>

I am working on OpenSSL implementation for IronRuby. base on ruby spec, the results looked like this. 4 files, 8 examples, 2 expectations, 2 failures, 6 errors My first implementation is http://github.com/Jirapong/ir…

---

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

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [April 24, 2009, 8:16pm UTC](https://www.ruby-forum.com/t/code-review-v04/166400 "2009-04-24T20:16:20Z")

</div>

tfpt review “/shelveset:v04;REDMOND\\jdeville” Comment : Update version to 0.4.0.0. This is a code only “release.”

---

## [Planning?](https://www.ruby-forum.com/t/planning/163763)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 1\
**Last updated:** [April 24, 2009, 2:20am UTC](https://www.ruby-forum.com/t/planning/163763 "2009-04-24T02:20:13Z")

</div>

Hi John announced at Mix that the aim is to release in June 09. That officially gives Michael and me a deadline around mid may probably. At that time it should be ready for RTM. I have chapter in my TOC about webf…

---

## [Code Review: core/env/clear](https://www.ruby-forum.com/t/code-review-core-env-clear/166319)

<div class="topic-metadata">

**Author:** [@Tim\_CSSSDO](https://www.ruby-forum.com/u/Tim_CSSSDO)\
**Replies:** 1\
**Last updated:** [April 23, 2009, 9:09pm UTC](https://www.ruby-forum.com/t/code-review-core-env-clear/166319 "2009-04-23T21:09:40Z")

</div>

Hi all! I’ve just started to learn IronRuby a week or two before, and Shri showed me through screenshare about mspec and fixing rubyspec bugs in general. So for my first contribution, I just did a one line change to …

---

## [Strange behavior when redefining methods on object instances (possible bug)](https://www.ruby-forum.com/t/strange-behavior-when-redefining-methods-on-object-instances-possible-bug/166166)

<div class="topic-metadata">

**Author:** [@murena](https://www.ruby-forum.com/u/murena)\
**Replies:** 2\
**Last updated:** [April 23, 2009, 8:31pm UTC](https://www.ruby-forum.com/t/strange-behavior-when-redefining-methods-on-object-instances-possible-bug/166166 "2009-04-23T20:31:30Z")

</div>

Hi, while in the process of trimming down the failure rate of the core/array specs I noticed a strange behavior of IronRuby. I’m pasting here two repl sessions I used to reproduce it: \>\>\> foo = Object.new =\> #\<Object…

---

## [WinForms event handling](https://www.ruby-forum.com/t/winforms-event-handling/166087)

<div class="topic-metadata">

**Author:** [@Andrew\_SSTownley](https://www.ruby-forum.com/u/Andrew_SSTownley)\
**Replies:** 6\
**Last updated:** [April 23, 2009, 7:17am UTC](https://www.ruby-forum.com/t/winforms-event-handling/166087 "2009-04-23T07:17:20Z")

</div>

Hi, I was doing a bit of experimenting with ironruby today to see if it might be useful for some prototyping work that I’m doing. I noticed that any of the strings returned from the CLR don’t automatically include t…

---

## [Sinatra fails on both 0.3 and custom build](https://www.ruby-forum.com/t/sinatra-fails-on-both-0-3-and-custom-build/166229)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 1\
**Last updated:** [April 23, 2009, 1:38am UTC](https://www.ruby-forum.com/t/sinatra-fails-on-both-0-3-and-custom-build/166229 "2009-04-23T01:38:46Z")

</div>

Hello, Just tried to run Sinatra however running into some difficultly. Firstly, I installed Sinarta via gems. I then tried the sample off their website: require ‘rubygems’ require ‘sinatra’ get ‘/hi’ do “Hello W…

---

## [Interop with Excel](https://www.ruby-forum.com/t/interop-with-excel/165041)

<div class="topic-metadata">

**Author:** [@sprsquish](https://www.ruby-forum.com/u/sprsquish)\
**Replies:** 5\
**Last updated:** [April 22, 2009, 10:28pm UTC](https://www.ruby-forum.com/t/interop-with-excel/165041 "2009-04-22T22:28:22Z")

</div>

The following code runs fine: require ‘Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ Excel = Microsoft::office::Interop::Excel but when I try to get the Applicati…

---

## [Code Review: core/module/autoload](https://www.ruby-forum.com/t/code-review-core-module-autoload/166040)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 4\
**Last updated:** [April 22, 2009, 9:18pm UTC](https://www.ruby-forum.com/t/code-review-core-module-autoload/166040 "2009-04-22T21:18:55Z")

</div>

http://github.com/jschementi/ironruby/commit/bbfa3c4a35cc331e58fb9da9a4097de86ed0dbff autoload uses ‘/’ to join load-path and autoload-path. Fixes http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=674 This ma…

---

## [Code Review: Update RubySpec](https://www.ruby-forum.com/t/code-review-update-rubyspec/166129)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 4\
**Last updated:** [April 22, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/code-review-update-rubyspec/166129 "2009-04-22T21:10:06Z")

</div>

I’m updating RubySpec to the newest revision from Git. Most of this is boring stuff; just updating files and rebuilding tags. However, a couple of these commits are code changes to help the specs run smoother. JD …

---

## [Requiring standard libraries within hosted DLR Runtime](https://www.ruby-forum.com/t/requiring-standard-libraries-within-hosted-dlr-runtime/166195)

<div class="topic-metadata">

**Author:** [@dotty](https://www.ruby-forum.com/u/dotty)\
**Replies:** 3\
**Last updated:** [April 22, 2009, 8:27pm UTC](https://www.ruby-forum.com/t/requiring-standard-libraries-within-hosted-dlr-runtime/166195 "2009-04-22T20:27:25Z")

</div>

Hello, I previously tried sending this to the mailing list (on 04/17), but it doesn’t appear to have arrived there. I did a git pull today (04/22/09), and rake compile, so I am using the very latest sources… I’m try…

---

## [How to use -X:SaveAssemblies, etc.?](https://www.ruby-forum.com/t/how-to-use-x-saveassemblies-etc/166135)

<div class="topic-metadata">

**Author:** [@vtphysguy](https://www.ruby-forum.com/u/vtphysguy)\
**Replies:** 3\
**Last updated:** [April 22, 2009, 5:47pm UTC](https://www.ruby-forum.com/t/how-to-use-x-saveassemblies-etc/166135 "2009-04-22T17:47:01Z")

</div>

Greetings! Getting into using IronRuby for some command line stuff, and the startup time on ir.exe is killing me. The command line options hint that I can save/reuse assemblies - is that true? Specifically: What doe…

---

## [RUBYLIB environment variable?](https://www.ruby-forum.com/t/rubylib-environment-variable/166161)

<div class="topic-metadata">

**Author:** [@Andrew\_SSTownley](https://www.ruby-forum.com/u/Andrew_SSTownley)\
**Replies:** 2\
**Last updated:** [April 22, 2009, 4:59pm UTC](https://www.ruby-forum.com/t/rubylib-environment-variable/166161 "2009-04-22T16:59:52Z")

</div>

Hi, I did some Googling, but I didn’t see anything about this particular issue. It seems that IronRuby (the latest release from rubyforge) ignores the RUBYLIB environment variable, leaving $: set to the default. The…

---

## [Code Review: \_\_FILE\_\_ and $PROGRAM\_NAME paths](https://www.ruby-forum.com/t/code-review-file-and-program-name-paths/166011)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 5\
**Last updated:** [April 22, 2009, 2:38am UTC](https://www.ruby-forum.com/t/code-review-file-and-program-name-paths/166011 "2009-04-22T02:38:14Z")

</div>

http://github.com/jschementi/ironruby/commit/3ef1b6ac9718d0c55796c2818da797ea8bab7275 Makes FILE and $PROGRAM\_NAME (and $0) have canonicalized paths when Ruby is hosted from ir.exe. However, FILE is not messed with whe…

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

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