[MacRuby-devel] [MacRuby] #464: can't load any framework "undefined method copy for NSLoadedClasses:NSMutableString"

MacRuby ruby-noreply at macosforge.org
Fri Nov 27 15:19:20 PST 2009


#464: can't load any framework "undefined method copy for
NSLoadedClasses:NSMutableString"
-------------------------------+--------------------------------------------
 Reporter:  fonseka@…          |       Owner:  lsansonetti@…        
     Type:  defect             |      Status:  new                  
 Priority:  minor              |   Milestone:                       
Component:  MacRuby            |    Keywords:                       
-------------------------------+--------------------------------------------
 Hi!

 I'm on SL, latest Macbook Pro, latest XCode. Installed the latest nightly
 (via http://macruby.icoretech.org/).

 Then I tried:

 {{{
 $ macirb
 > framework 'Cocoa'
 2009-11-27 23:16:58.730 macruby[22645:903] Bundle
 /System/Library/Frameworks/Cocoa.framework raised exception during
 loading: undefined method `copy' for "NSLoadedClasses":NSMutableString
 => true
 }}}

 I found it weird, but since it returned true I decided to go on.

 {{{
 > NSUserDefaults.init
 NoMethodError: undefined method `copy' for
 "NSLoadedClasses":NSMutableString
         from core:in `framework:'
         from (irb):1:in `<main>'
         from core:in `eval:'
         from core:in `evaluate:'
 }}}

 Tried with other (older) nightly builds and keep having the same problem.
 Any hint?

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/464>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list