[Ironruby-core] broken again on mono

Ivan Porto Carrero
Sat, 16 May 2009 08:37:54 -0000

Hi
IronRuby is broken again on mono. It throws NullReference Exceptions for a
lot of operations. It also complains about something not being bound to
$exception

Just indicating this in case somebody wants to pick it up.

There is only 1 change required in the context.rb file to make it build on
mono.

on line 378 in context.rb change
source = project_root + "Config\\Unsigned\\app.config"
to
source = project_root + "Config/Unsigned/app.config"

and some command output

+ivan at ivan-mbp:~
? iirb
:0:in `require'': unbound variable: $exception (TypeError)
 from /Users/ivan/bin/iirb:10

+ivan at ivan-mbp:~
? igem list
:0:in `<=>'': Object reference not set to an instance of an object
(System::NullReferenceException)
 from /Users/ivan/lib/ruby/site_ruby/1.8/rubygems/version.rb:123:in
`<=>''
from /Users/ivan/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:25
 from IronRuby.Libraries:0:in `Compare''
from :0:in `>''
from mscorlib:0:in `CallSite.Target''
 from /Users/ivan/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:129:in
`satisfy?''
from :0:in `[]''
 from mscorlib:0:in `CallSite.Target''
from /Users/ivan/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:122:in
`satisfied_by?''
 from /Users/ivan/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:122:in
`satisfied_by?''
from IronRuby.Libraries:0:in `<>m__3''
 from :0:in `each''
from mscorlib:0:in `CallSite.Target''
from IronRuby.Libraries:0:in `Each''
 from IronRuby.Libraries:0:in `TrueForItems''
from :0:in `all?''
from mscorlib:0:in `CallSite.Target''
 from /Users/ivan/bin/igem:14



--
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20090516/865e2505/attachment.html>