From: Doug Beaver Date: 2005-02-21T17:24:04+09:00 Subject: trying to build self-contained RubyCocoa apps i've written a RubyCocoa app, but i would like to be able to distribute it to users without requiring them to install ruby or RubyCocoa. i see that RubyCocoa.framework has been changed to make it easier to bundle in the Contents/Frameworks section of the app bundle, but i'm having trouble bundling ruby itself (lib/ruby/1.8, etc) with the app as well. i figured that the best approach was to statically link libruby into RubyCocoa's shared object and then somehow include all the .rb and ext classes inside RubyCocoa.framework/Resources/ruby. i've got the static lib part working, but still can't get RubyCocoa to load non-cocoa ruby classes from inside the bundle. has anyone gotten this working before? i saw the BundleRubyExecutableInOSX node on rubygarden, but it doesn't look like anyone has figured out the entire set of steps that are required. i'm interested in getting this figured out because it would be sweet to let people download my apps without them even knowing that ruby was working under the hood. i'm using non-standard extensions like ruby-audiofile, so until i have a self-contained app, i don't feel comfortable distributing it; it would require too much work on their part to get things working... thanks, doug -- "Contrary to what most people say, the most dangerous animal in the world is not the lion or the tiger or even the elephant. It's a shark riding on an elephant's back, just trampling and eating everything they see." -- Jack Handey