[Ironruby-core] broken again on mono

Jim Deville
Sun, 17 May 2009 00:40:39 -0000

Thanks for the heads up, I?ll apply this fix.

JD

?there is no try

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at
rubyforge.org] On Behalf Of Ivan Porto Carrero
Sent: Saturday, May 16, 2009 1:38 AM
To: ironruby-core
Subject: [Ironruby-core] broken again on mono

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/20090517/60b46de4/attachment.html>