<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Barry,</div><div><br></div><div>MacRuby trunk builds in 64-bit by default, so I suspect that here VersaPHY.framework has only been built for 32-bit only.</div><div><br></div><div>Try to load macirb for i386 first and see if you can load your framework:</div><div><br></div><div>$&nbsp;arch -i386 /usr/local/bin/macirb&nbsp;</div><div><br></div><div>It is good practice since Leopard to build your own code for both 32-bit and 64-bit mode.</div><div><br></div><div>Laurent</div><div><br></div><div>On Feb 9, 2009, at 11:17 AM, Barry Walker wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thanks again for the help.&nbsp; I macraked the trunk and hotconsole and it worked, sort of.<br><br>With the trunk build, my framework won't load.<br><br>>> framework 'VersaPHY'<br>2009-02-09 12:04:12.258 macruby[35283:10b] Error loading /Users/barry/Library/Frameworks/VersaPHY.framework/VersaPHY:&nbsp; dlopen(/Users/barry/Library/Frameworks/VersaPHY.framework/VersaPHY, 265): no suitable image found.&nbsp; Did find:<br> &nbsp;&nbsp;&nbsp; /Users/barry/Library/Frameworks/VersaPHY.framework/VersaPHY: mach-o, but wrong architecture<br>&nbsp;&nbsp;&nbsp; /Users/barry/Library/Frameworks/VersaPHY.framework/VersaPHY: mach-o, but wrong architecture<br>RuntimeError: framework at path `/Users/barry/Library/Frameworks/VersaPHY.framework' cannot be loaded: Error Domain=NSCocoaErrorDomain Code=3585 UserInfo=0x80041d900 "The bundle "VersaPHY" could not be loaded because it does not contain a version for the current architecture." (dlopen_preflight(/Users/barry/Library/Frameworks/VersaPHY.framework/VersaPHY): no suitable image found.&nbsp; Did find:<br> &nbsp;&nbsp;&nbsp; /Users/barry/Library/Frameworks/VersaPHY.framework/VersaPHY: mach-o, but wrong architecture<br>&nbsp;&nbsp;&nbsp; /Users/barry/Library/Frameworks/VersaPHY.framework/VersaPHY: mach-o, but wrong architecture)<br>&nbsp;&nbsp;&nbsp; from (irb):1:in `framework'<br> &nbsp;&nbsp;&nbsp; from (irb):1<br>&nbsp;&nbsp;&nbsp; from /usr/local/bin/macirb:12:in `&lt;main>'<br><br>I reloaded 0.3 and:<br><br>Macintosh:MacRuby-0.3 barry$ macirb<br>>> framework 'VersaPHY'<br>=> true<br><br>Is this broken on purpose?<br> <br>Regards,<br>Barry<br><br><br> <div class="gmail_quote">On Sun, Feb 8, 2009 at 1:14 AM, Vincent Isambart <span dir="ltr">&lt;<a href="mailto:vincent.isambart@gmail.com" target="_blank">vincent.isambart@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div>> Macintosh:vincentisambart-hotconsole-cbdd6d06ece482e124516359cd9299294667daeb barry$ macrake<br> > (in /Users/barry/dev/vincentisambart-hotconsole-cbdd6d06ece482e124516359cd9299294667daeb)<br> > rake aborted!<br> > no such file to load -- hotcocoa/standard_rake_tasks<br> > /Users/barry/dev/vincentisambart-hotconsole-cbdd6d06ece482e124516359cd9299294667daeb/rakefile:2:in `require'<br> > (See full trace by running task with --trace)<br> <br> </div>This means you are using an old version of MacRuby, probably 0.3. You<br> can check it by running macruby -v, or in macirb by displaying<br> MACRUBY_VERSION and MACRUBY_REVISION.<br> <div><div></div><div>_______________________________________________<br> MacRuby-devel mailing list<br> <a href="mailto:MacRuby-devel@lists.macosforge.org" target="_blank">MacRuby-devel@lists.macosforge.org</a><br> <a href="http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel" target="_blank">http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel</a><br> </div></div></blockquote></div><br> _______________________________________________<br>MacRuby-devel mailing list<br><a href="mailto:MacRuby-devel@lists.macosforge.org">MacRuby-devel@lists.macosforge.org</a><br>http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel<br></blockquote></div><br></body></html>