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

JD

…there is no try

From: [email protected] 
[mailto:[email protected]] 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

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

+i...@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)
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to