Curt Hibbs
2004-Aug-13 09:40 UTC
[Rubyinstaller-devel] RE: Ruby Installer for OS X [was: Which version of Ruby is most widely used?]
Have you subscribed to the rubyinstaller-devel mailing list yet? We really should be carrying on this conversation there, for several reasons... First off, its less likely that I''ll miss anything like I did with your last email, because I have ML emails routed to a special folder that I pay extra attention to. But, more importantly, its keeps the other developers on the project "in the loop" and able to provide assistance/corrections/advice when appropriate. The Windows installer is a precompiled binary. The installer project, itself, has two parts: 1.. The build script (written in Ruby) downloads Ruby and extension packages and builds the binary files. 2.. An NSIS script picks up the binary files a creates a one-click installer that contains them. We don''t check the binaries in to cvs, only the build and installer scripts (there a some exceptions to this, but its not worth confusing the issue right now). Here''s how I would like to proceed: 1) For the time being, I would forget about the build script and try to get a working binary build on your system that includes the ruby extensions and applications (like a syntax highlighting editor). If any of the extensions are already available for OS X in binary format, then you don''t need to build them, just install it into the directory tree you are building. I need to contact Lyle Johnson about a binary build of FXRuby for OS X because I really want FXRuby to be included. Actually, we need it to be included because I have plans to include RubyGems in the installer to allow the user to pick other ruby extensions to install, and the coming-soon GUI RubyGems Browser will use FXRuby. 2) Anyway, you would then use your completed and working binary build to create your .pkg-based based installer. I did a quick search and found an open source installer for OS X called i-install (http://www.rna.nl/ii.html). I don''t know if its any good, buts its worth checking out. Any installer scripts that you created for this would be checked in to our RubyForge CVS (but not the binaries). 3) Once you have a working one-click installer, we would send it to a few select individuals for alpha testing. We would following that with a public beta release and then a final release. 4) Once we have a stable, final release. We can work on automating the build process (it''ll be easier at this point, because you *know* what you want the result to look like). You and I can work together to refactor the existing build scripts for Windows so that we can share as much of the code as possible between the Windows and OS X installers. For the immediate future, you can concentrate on steps 1 & 2 and I''ll start working on the other administrative stuff. Curt -----Original Message----- From: Curt Hibbs [mailto:curt@hibbs.com] Sent: Thursday, August 12, 2004 10:27 PM To: Stephen Steiner Cc: Curt Hibbs Subject: RE: Ruby Installer for OS X [was: Which version of Ruby is most widely used?] Sorry, I didn''t get it. I''m going to bed right now, but I wanted to let you know right away. I''ll send a more detailed response tomorrow. Thanks, Curt -----Original Message----- From: Stephen Steiner [mailto:ssteiner@mac.com] Sent: Thursday, August 12, 2004 9:43 PM To: Curt Hibbs Subject: Fwd: Ruby Installer for OS X [was: Which version of Ruby is most widely used?] Sorry, Did I miss an e-mail here? This is the most recent I sent to you. I''d like to begin pl a nningonthis.BRBRWheredowestart/store this project and when would you like to begin? Steve Begin forwarded message: From: Stephen Steiner <ssteiner@mac.com> Date: August 10, 2004 6:08:36 PM EDT To: Curt Hibbs <curt@hibbs.com> Subject: Re: Ruby Installer for OS X [was: Which version of Ruby is most widely used?] I assume you''re talking about the automated build script. Its written in ruby, and could easily be ported and possibly refactored so that common stuff could be shared. I''m not sure what I''m talking about ;-). I don''t use Windows unless I absolutely have to and haven''t yet downloaded the installer to see how it works. The Installer itself is NSIS, an open source windows installer from NullSoft (the WinAmp people). Ok, so there''s no portability there... Knowing nothing about OS X (despite having been a Certified Macintosh Developer in 1986 ;-), I''m assuming the OS X has a built-in installer that uses the .pkg that you would create. Is this correct? Yes, the native OSX .pkg file is roughly equivalent to an RPM on Red Hat linux except that it automatically launches the installation program when double clicked. Quite simple, actually. Do you build Ruby on their system or do you pre-compile it, then just load the binary? Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyinstaller-devel/attachments/20040813/ee95ef97/attachment.htm