Forum: IronRuby sharing some stuff + one question on mono

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
91eb330fb36d1e03c856574dfb77d2bc?d=identicon&s=25 Thibaut Barrère (thbar)
on 2009-02-10 01:59
(Received via mailing list)
Hi,
two things:

- I'm sharing in case it's useful to someone else: I pushed some rake
tasks
here 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
68f1bd9e9a7d9d10f0278c6535f700fe?d=identicon&s=25 Michael Letterle (mletterle)
on 2009-02-10 15:44
(Received via mailing list)
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
68f1bd9e9a7d9d10f0278c6535f700fe?d=identicon&s=25 Michael Letterle (mletterle)
on 2009-02-10 15:47
(Received via mailing list)
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 Letterle <
740c85b27e1a80c5f908d81dca5d4fbf?d=identicon&s=25 Jb Evain (Guest)
on 2009-02-11 12:23
(Received via mailing list)
Hey,

On 2/10/09, Thibaut Barrère <thibaut.barrere@gmail.com> 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.
91eb330fb36d1e03c856574dfb77d2bc?d=identicon&s=25 Thibaut Barrère (thbar)
on 2009-02-11 13:56
(Received via mailing list)
Hey,
thanks guys for the feedback. Jb: is it fine to use this build ?
http://mono.ximian.com/monobuild/preview/download-preview/

-- Thibaut
740c85b27e1a80c5f908d81dca5d4fbf?d=identicon&s=25 Jb Evain (Guest)
on 2009-02-11 14:11
(Received via mailing list)
Hey,

On 2/11/09, Thibaut Barrère <thibaut.barrere@gmail.com> wrote:
> thanks guys for the feedback. Jb: is it fine to use this build ?
> 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.
91eb330fb36d1e03c856574dfb77d2bc?d=identicon&s=25 Thibaut Barrère (thbar)
on 2009-02-11 15:38
(Received via mailing list)
Hi,
just tested with the latest dmg from
http://mono.ximian.com/monobuild/preview/download-preview/

I confirm it's working :)

thanks Jb!

-- Thibaut
1e39a948a58f4569c53d971c2e120920?d=identicon&s=25 Ivan Porto carrero (casualjim)
on 2009-02-11 16:40
(Received via mailing list)
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.
This topic is locked and can not be replied to.