[Ironruby-core] Building IronRuby under Mono

Michael Letterle michael.letterle at gmail.com
Sun Dec 7 18:17:49 EST 2008


I'm curious... I'm running into a number of issues just compiling... is this
from the SVN or Git repo?

On Sat, Dec 6, 2008 at 3:51 PM, Antonio Cangiano <acangiano at gmail.com>wrote:

> Using Mono 2.0 I was able to build IronRuby but it's not working properly:
>
> ~/code/ruby/ironruby/build/mono_debug$ ./ir.exe
> IronRuby 1.0.0.0 on .NET 2.0.50727.42
> Copyright (c) Microsoft Corporation. All rights reserved.
>
> Note that local variables do not work today in the console.
> As a workaround, use globals instead (eg $x = 42 instead of x = 42).
>
> >>> 3 + 3
> unknown: An exception was thrown by the type initializer for
> Microsoft.Scripting.SourceCodeReader (System::TypeInitializationException)
>
> ~/code/ruby/ironruby/build/mono_debug$ mono ./ir.exe ~/code/ruby/hello.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'
>
> Any suggestions?
>
> Thanks,
>
> Antonio
> --
> http://antoniocangiano.com - Zen and the Art of Programming
> http://math-blog.com - Mathematics is wonderful!
> http://stacktrace.it - Aperiodico di resistenza informatica
> Currently writing "Ruby on Rails for Microsoft Developers" for Wrox.
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>


-- 
Michael Letterle
[Polymath Prokrammer]
http://blog.prokrams.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081207/fbb378a1/attachment.html>


More information about the Ironruby-core mailing list