[MacRuby-devel] Embedded libraries not loading

Darrin Eden darrin at heavywater.ca
Mon Feb 15 12:45:56 PST 2010


Hi,
  It appears requiring libraries and embedding aren't behaving well together.
  I built MacRuby r3528 this morning. 
  1) In Xcode start a new MacRuby application. Build, compile, embed, and then move /Library/Frameworks/MacRuby.framework out of the way. The app runs without a problem. 
  2) Move MacRuby.framework back into place and add "require 'time'" to rb_main.rb. Build, compile, embed, and move /Library/Frameworks/MacRuby.framework out the way. The results are "no such file to load -- time".
  3) Move /Library/Frameworks/MacRuby.framework back into place and it runs again.

  Thanks,
   -- Darrin
 


More information about the MacRuby-devel mailing list