From: Jonathan P. <jp...@dc...> - 2005-12-23 17:26:16
|
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 :) |