From: Lothar Scholz Date: 2004-07-31T10:54:26+09:00 Subject: Re: [ANN] AllInOneRuby Hello Erik, EV> On Sat, 31 Jul 2004 09:16:57 +0900, James Britt wrote: >> Erik Veenstra wrote: >> >> > On Sat, 31 Jul 2004 05:43:15 +0900, James Britt wrote: >> > >> > > Or bundle AIOR with some Ruby GUI app, and kick the whole >> > > thing off with a .bat file that launches AIOR, passing in >> > > my Ruby application? >> > >> > Don't mix the term "Ruby" and the term "Ruby with all the >> > other stuff" (like Fox libraries, TCL/TK libraries, etc). >> > I'm talking about "Ruby". >> >> I'm having a hard time, then picturing a concrete use for >> this. EV> Hmmm... I made it because I had concrete use for it. Not the EV> other way aroung... EV> An example. My boss expects me to program on his IBM mainframe. EV> That's where he pays me for. Nowadays, 3270-emulators are used EV> as terminals, instead of the good old green screens... Big Blue EV> gave us HLLAPI (High Level Language API), which is a way to EV> program the interaction with the emulator, although the EV> emulator still thinks it's a human-being that is in control. EV> Over the years, I made a lot of scripts to cope with tests, EV> quick downloads, ditto upload, log filtering, etc. My EV> colleagues are not stupid and say "That's nice! Can I have it." EV> So they need Ruby, but not necessarily a full blown EV> installation. Besides that, it's not possible to install EV> anything on our machines. There's not much more than a network EV> share and a tempdir. So I bound .rb to H:\allinoneruby.exe ... >> Can you give some examples where this works better than, say, >> exerb? EV> Did I say it was better?... At least, it's simpler... Simpler ? I don't think so. Not for the creation side because you still have to specify the files you want. And also not for the user side where more things can happen (out of disk space, wrong env variables, no access rights). But it has one real advantage. In systems where you need to start a few scripts maybe with 'popen("ruby.exe")' from the the main script, the disk overhead will be much much less. But to be honest, in such cases i prefer an "setup.exe" file. In fact i don't think that the 'my friends want only one exe file' argument is is really important. The difference between a generated *.exe and a setup.exe is not so big. -- Best regards, emailto: scholz at scriptolutions dot com Lothar Scholz http://www.ruby-ide.com CTO Scriptolutions Ruby, PHP, Python IDE 's