# Sharing some stuff + one question on mono

**URL:** <https://www.ruby-forum.com/t/sharing-some-stuff-one-question-on-mono/159923>\
**Category:** IronRuby\
**Created:** [February 10, 2009, 1:59am UTC](https://www.ruby-forum.com/t/sharing-some-stuff-one-question-on-mono/159923 "2009-02-10T01:59:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [February 10, 2009, 1:59am UTC](https://www.ruby-forum.com/t/sharing-some-stuff-one-question-on-mono/159923/1 "2009-02-10T01:59:52Z")

</div>

Hi,  
two things:

- I’m sharing in case it’s useful to someone else: I pushed some rake  
tasks  
here [GitHub - thbar/ironruby-labs: Experimentations with IronRuby](http://github.com/thbar/ironruby-labs/tree/master) . I’m using it to  
download the DLR nightly to my Mac, patch ir.exe.config and launch mono  
ir.exe. I’ll add more things there as I go (including UI,  
experimentations  
etc).

- is “mono Release/ir.exe -D somefile.rb” supposed to work with Mono 2.2  
and  
the latest DLR build (10584) ? It seems that I’m facing the issue Ivan  
reported a while back:

Macintosh:ironruby-labs thbar$ mono Release/ir.exe -D ui/ui.rb  
mscorlib:0:in `set_Fallback': Argument cannot be null. (System::ArgumentNullException) from mscorlib:0:in `.ctor’  
from mscorlib:0:in `GetDecoder' from mscorlib:0:in `Initialize’  
from mscorlib:0:in `.ctor' from mscorlib:0:in `.ctor’

cheers,

– Thibaut

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [February 10, 2009, 3:44pm UTC](https://www.ruby-forum.com/t/sharing-some-stuff-one-question-on-mono/159923/2 "2009-02-10T15:44:41Z")

</div>

I have this bug fixed in my linux/mono branch. File a bug (if there  
isn’t  
one already) and I’ll submit my patch to it.

On Mon, Feb 9, 2009 at 7:48 PM, Thibaut BarrÃ¨re

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [February 11, 2009, 12:23pm UTC](https://www.ruby-forum.com/t/sharing-some-stuff-one-question-on-mono/159923/3 "2009-02-11T12:23:43Z")

</div>

Hey,

On 2/10/09, Thibaut Barrère [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Macintosh:ironruby-labs thbar$ mono Release/ir.exe -D ui/ui.rb  
> mscorlib:0:in `set_Fallback': Argument cannot be null. (System::ArgumentNullException) from mscorlib:0:in `.ctor’  
> from mscorlib:0:in `GetDecoder' from mscorlib:0:in `Initialize’  
> from mscorlib:0:in `.ctor' from mscorlib:0:in `.ctor’

I’ve fixed this issue in Mono, the fix will make it in Mono 2.4.

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [February 11, 2009, 1:56pm UTC](https://www.ruby-forum.com/t/sharing-some-stuff-one-question-on-mono/159923/4 "2009-02-11T13:56:36Z")

</div>

Hey,  
thanks guys for the feedback. Jb: is it fine to use this build ?  
[http://mono.ximian.com/monobuild/preview/download-preview/](http://mono.ximian.com/monobuild/preview/download-preview/)

– Thibaut

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [February 10, 2009, 3:47pm UTC](https://www.ruby-forum.com/t/sharing-some-stuff-one-question-on-mono/159923/5 "2009-02-10T15:47:02Z")

</div>

I just sent out a pull request, here’s the diff to fix the error:

Merlin/Main/Languages/Ruby/Ruby/Runtime/BinaryEncoding.cs

@@ -30,7 +30,8 @@ namespace IronRuby.Runtime {  
// TODO: remove  
public static readonly Encoding/_!_/ Obsolete = Instance;

- private BinaryEncoding() {

- private BinaryEncoding():base(0) {
- 

```
  }
   public override int GetByteCount(char[]/*!*/ chars, int index, 

```

int  
count) {

On Tue, Feb 10, 2009 at 9:27 AM, Michael L. \<

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [February 11, 2009, 3:38pm UTC](https://www.ruby-forum.com/t/sharing-some-stuff-one-question-on-mono/159923/6 "2009-02-11T15:38:40Z")

</div>

Hi,  
just tested with the latest dmg from  
[http://mono.ximian.com/monobuild/preview/download-preview/](http://mono.ximian.com/monobuild/preview/download-preview/)

I confirm it’s working 🙂

thanks Jb!

– Thibaut

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [February 11, 2009, 4:40pm UTC](https://www.ruby-forum.com/t/sharing-some-stuff-one-question-on-mono/159923/7 "2009-02-11T16:40:32Z")

</div>

When I build mono from svn then the compression stuff seems to be  
improperly  
linked.  
I have no idea what I should be doing to make that link properly that  
way I  
can just keep up with the trunk version on my laptop.

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [February 11, 2009, 2:11pm UTC](https://www.ruby-forum.com/t/sharing-some-stuff-one-question-on-mono/159923/8 "2009-02-11T14:11:19Z")

</div>

Hey,

On 2/11/09, Thibaut Barrère [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> thanks guys for the feedback. Jb: is it fine to use this build ?  
> [http://mono.ximian.com/monobuild/preview/download-preview/](http://mono.ximian.com/monobuild/preview/download-preview/)

It should be fine. Alternatively,the mono-2-4 branch from svn should  
work as well, and will always be up to date.
