Hi Frank,

On Feb 12, 2010, at 7:12 AM, Frank Illenberger wrote:

> Hi there,
> 
> today I updated my MacRuby installation from MacRuby 0.5b1 to 0.5 final. 
> Sadly, this broke my class "MERStandard" which used a Set.
> My Cocoa app embeds the MacRuby.framework. I initialized an empty set like 
> this, which worked fine with MacRuby 0.5b1
> 
> mySet = Set.new
> 
> With MacRuby 0.5 final I am getting the following error:
> 
> An exception occured: NameError uninitialized constant MERStandard::Set
> 
> If I put a
> 
> require 'set'
> 
> at the top of my class file, I get the following error:
> 
> An exception occured: LoadError no such file to load -- set
> 
> Am I doing something wrong or was anything substantial changed in the relase 
> version?

In the final 0.5 release we decided to revert our NSSet-based implementation of 
set and use the pure-Ruby implementation, so you do need to require 'set'. If 
'set' can't be found in your application bundle maybe it's because you did not 
embed the standard library? 

Laurent
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to