From: Anne G <an...@wj...> - 2005-12-23 19:05:20
|
Ahah! wonderful. Thank you so much. I had indeed called the folder rubyprojects/addon and I understand now how that is a problem. I had not debugged the problem all the way. Thank you so much for finding what the problem was! thanks you Anne On Fri, 23 Dec 2005, Jonathan Paisley wrote: > On 23 Dec 2005, at 13:51, Anne G wrote: > > > simpleapp runs fine from the developer/example/rubycocoa > > folder, but it does not run from the desktop folder. > > > > the error message shows up in its own xcode window. > > >>> /Users/anne/Desktop/learning ruby/ruby > >>> projects:addon/Code/build/Development/RubyCocoaTar.app/Contents/ > > Ahah! The problem is that your directory name contains a ':' > character (in the Finder it'll show up as a forward slash '/'). The > path to the Resources directory is added to $LOAD_PATH, which is > eventually converted to a :-separated string in the ruby core. > Therefore, the full path to your application is lost. > > You could perhaps report this as a bug in ruby. > > The temporary fix is to remove that character from the directory name :) > > |