From: Jon B. <jo...@gm...> - 2007-07-15 17:26:52
|
Not sure about this but here is my guess: If you create a folder VM under your project and lay down all the files this installer provides and include the universal builds of your gems and then somehow modify your PATH to run only that Ruby executable under VM folder (im guessing this will have to occur within main.m), you would really get standalone app with your own Ruby distro. Since you can have a file ~/.MacOSX/environment.plist I wonder if there might be something RC developer could add to Info.plist that could tweak the PATH setting? (Or this might be something which can be done already?) Like you said before this will definitely add nice bloat to your project but @ least you can guarantee / provide your own runtime for users not familiar w/ Ruby setup < 10.4. - Jon On Jul 15, 2007, at 7:27 AM, Tim Perrett wrote: > Is it just me or does that read as if its a universal version of ruby? > > Ive just tried it installing it, and it appears that it installs ruby > in /usr/local/bin > > tim-perretts-computer:/usr/local/bin timperrett$ ./ruby -v > ruby 1.8.6 (2007-03-13 patchlevel 0) [universal-darwin8.0] > > Further to what we have been talking about on this list we could take > a universial ruby distribution and put that inside our application > couldn't we? Having said that, how would RC know to use the ruby > within the application? > > Cheers > > Tim > > > On 15 Jul 2007, at 03:06, Jon Baer wrote: > >> Just curious, has anyone tried running RubyCocoa apps with this >> package? >> >> http://rubyosx.rubyforge.org/ >> >> - Jon > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |