From: Yvon T. <tho...@fr...> - 2006-02-22 18:52:06
|
Hey all, i'm using "standaloneify.rb" from Jonathan Paisley and, for the last app i'm working on, a user said to the app crashes with the following message at Cosole log : > /Applications/BookmarksMerge.app/Contents/Frameworks/ > RubyCocoa.framework/ > Versions/A/Resources/ruby/osx/objc/cocoa_macros.rb:13:in `require': no > such file to load -- nkf (LoadError) > from /Applications/BookmarksMerge.app/Contents/Frameworks/ > RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/ > cocoa_macros.rb:13 > from /Applications/BookmarksMerge.app/Contents/Frameworks/ > RubyCocoa.framework/Versions/A/Resources/ruby/osx/objc/cocoa.rb:13 > from /Applications/BookmarksMerge.app/Contents/Frameworks/ > RubyCocoa.framework/Versions/A/Resources/ruby/osx/cocoa.rb:11 > from /Applications/BookmarksMerge.app/Contents/Resources/ > rb_main.rb:25 he is using this RubyCocoa beta app over standard Apple Ruby, i'm using the latest build by my own. the dependencies are : require 'osx/cocoa' require 'osx/aeosa' require 'iconv' require 'date' require 'yaml' require 'xml/xslt' require 'rexml/document' written directly into "rb_main.rb" it's surprising to me because i've used "standaloneify.rb" for another RubyCocoa app having the same dependencies as listed above. i've carefully inspected the Contents folder of each app and catch for any difference : found no differences at all ( apart from what is specific to the app). even i've found the "nkf.bundle" : ./lib: total 2592 drwxr-xr-x 10 yvon yvon 340 Feb 22 13:56 . drwxr-xr-x 9 yvon yvon 306 Feb 22 13:56 .. -rwx------ 1 yvon yvon 9992 Feb 22 13:56 fcntl.bundle -rwx------ 1 yvon yvon 33204 Feb 22 13:56 iconv.bundle -rwx------ 1 yvon yvon 222304 Feb 22 13:56 nkf.bundle -rwx------ 1 yvon yvon 681728 Feb 22 13:56 openssl.bundle -rwx------ 1 yvon yvon 50484 Feb 22 13:56 osx_aeosa.bundle -rwx------ 1 yvon yvon 37904 Feb 22 13:56 stringio.bundle -rwx------ 1 yvon yvon 272464 Feb 22 13:56 syck.bundle drwxr-xr-x 3 yvon yvon 102 Feb 22 13:56 xml ./lib/xml: total 152 drwxr-xr-x 3 yvon yvon 102 Feb 22 13:56 . drwxr-xr-x 10 yvon yvon 340 Feb 22 13:56 .. -rwx------ 1 yvon yvon 76972 Feb 22 13:56 xslt.bundle same perms, same sizes in each case. The only major difference in my code it's in that i'm using a proxy class (advice from onathan Paisley). what could i ask to the user in order to go ahead ? obviously, my app is working as standalone on my computer. here is my ruby setup : > ruby --version ruby 1.8.4 (2005-12-24) [powerpc-darwin8.4.0] being in : > which ruby /usr/local/bin/ruby best, Yvon |