Running a Ruby installation off a CD (under Windows)

The closest thing I can think of is the Live Demo CD that Steven Gibson
talked about at RubyConf 2002.

http://rubyconf.org/speakers.php

No idea what the status is.

Regards,

Dan

···

-----Original Message-----
From: Harry Ohlsen [mailto:harryo@qiqsolutions.com]
Sent: Thursday, July 24, 2003 3:40 AM
To: ruby-talk@ruby-lang.org
Subject: Running a Ruby installation off a CD (under Windows)

I’ve written some stuff I’d like to show to someone who
doesn’t already have Ruby installed.

So, I plan to try copying an install of Ruby for Windows onto
a CD-ROM. My stuff is purely console-based, so all I need is
ruby.exe and the libraries (and relatively few of those, I guess).

I’m asuming I can create a batch file to set up the
appropriate environment variables to allow ruby.exe to find
the libraries (although, that will presumably require
tweaking, to stick in the drive letter of their CD-ROM).

Before I start hacking at it, has anyone tried to do this
before? If so, any advice?

Thanks in advance,

Harry O.

Thanks Dan. However, the big selling point of that CD seems to be that it’s a
complete bootable Linux system that also has Ruby installed. I’m looking to
do this under Windows (because that’s the target machine).

I think I should be able to achieve what I need by doing my setup on a network
share and getting one of my colleagues, who doesn’t have Ruby installed on
their machine, to try it. Once I get it working that way, I’ll burn it to a
CD and see if it still works. It will probably take a couple of tries, I
guess.

Even once it’s finished, I’m probably going to have to copy the batch file off
the CD onto the target PC, to edit it for the right drive letter of their CD
ROM drive.

By the way, what would be useful to me would be to know what, if any, core
DLLs are required … or does ruby.exe contain everything, apart from the .rb
files (and possibly some DLLs) in the the ruby lib directory tree?

Anyway, I’ll let the list know how I go. If I can get something working,
maybe it can be the starting point for a demo CD. You’d probably want to get
as many of the libraries, like FXRuby and the Windows-specific libs, on there
to make the demo as impressive as possible.

Harry O.

···

On Fri, 25 Jul 2003 02:32, Berger, Daniel wrote:

The closest thing I can think of is the Live Demo CD that Steven Gibson
talked about at RubyConf 2002.

http://rubyconf.org/speakers.php

No idea what the status is.

Harry Ohlsen wrote:

Anyway, I’ll let the list know how I go.

Well, I was able to get it going. At least, I can run console Ruby scripts and FOX GUI applications.

One thing I would have liked to get working is the Open GL demo. However, the required library obviously isn’t in the path I’ve set up. I’ll do some further investigation over the next couple of days.

If anyone has an idea what I might be missing for the Open GL program to run, please let me know.

Harry O.