From: Chris T. <cj...@cj...> - 2002-10-04 04:06:29
|
On Thursday, October 3, 2002, at 08:47 PM, Rod Schmidt wrote: > I haven't seen anything on this and I'm wondering what the options are > for deploying a RubyCocoa app. Does the user have to install RubyCocoa > on their machine or can I deploy it so that it is part of the > application bundle. If so, how? > > Or do I have to create some kind of installer that will install > RubyCocoa for them? Again, how or has somebody already done this? In CVS, see the file tools/gen_standalone_library.rb on the ct-file-size-opt branch. This script generates a Ruby + RubyCocoa static library that you can link into your app. You can distribute the resulting application, and the user should never know the difference. No installer required. This actually worked around RubyCocoa 0.2.5ish, but I haven't had time to continue work on it (new job, new baby), and I don't know if it still works with 0.3. It's pretty simple, though, and there are obvious improvements that could be made. Shouldn't be too difficult to bring up to date if needed (famous last words...). Another way to do it would be to bundle the RubyCocoa framework and libruby inside your app bundle, but this solution incurs additional launch time overhead. Chris |