[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dsktool.rb and Ruby Questions
On Dec 5, 1:26 pm, "Bill Buckels" <bbuck...@mts.net> wrote:
> No additional problems to report. Just the complaint about the size of the
> ruby runtime. .
>
> I also ran dskexplorer.rb without problem.
Actually, the runtime itself is *tiny*. Most of the bloat in the
distribution comes from the RI (Ruby Information) installation, which
is all those .yaml files you can see in /share. If you do for example:
ri Array
You'll see what this if for. ri produces this documention from the
Ruby source (which uses a similar system to Javadoc). A "stripped"
installation without ri or documentation in the source would probably
only be a few megabytes, but there's no 'runtime' distribution as yet,
and if you're developing you'll need ri, irb, rdoc, etc working.
As you point out, unfortunately lots of small files tends to be
wasteful on Windows, as NTFS doesn't implement any cluster/block
sharing optimisations. Ah well, what's 80mb these days?
Also for your documentation: users out there using MacOS (10.5 or
greater) already have Ruby installed. All that's required is adding
the dsktool gem - a single command.
Matt