[Ironruby-core] Building IronRuby under Mono
Antonio Cangiano
acangiano at gmail.com
Sat Dec 6 15:51:39 EST 2008
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081206/6e30ad9c/attachment.html>
More information about the Ironruby-core
mailing list