Ruby Size

What would be the smallest ruby size?

While building the ruby, a miniruby also build and it’s size is 1.6MB?
Can we build a ruby less than 1 MB?

-Kuppa

Hi,

kuppas kuppa [email protected] writes:

What would be the smallest ruby size?

While building the ruby, a miniruby also build and it’s size is 1.6MB?
Can we build a ruby less than 1 MB?

% ls -sh miniruby
1.8M miniruby
% strip miniruby
% ls -sh miniruby
676K miniruby
% ./miniruby -v
ruby 1.8.4 (2006-04-28) [i686-linux]

Thanks for the tip and appreciate your help.

I have couple of more question.

  1. Is miniruby self-contained? (Is depend on any other
    files/libraries?)
  2. I am not sure, this is the right place to ask. Is mini ruby sufficent
    to run the ruby-on-rails?

Thanks,
-Kuppa

WATANABE Hirofumi wrote:

Hi,

kuppas kuppa [email protected] writes:

What would be the smallest ruby size?

While building the ruby, a miniruby also build and it’s size is 1.6MB?
Can we build a ruby less than 1 MB?

% ls -sh miniruby
1.8M miniruby
% strip miniruby
% ls -sh miniruby
676K miniruby
% ./miniruby -v
ruby 1.8.4 (2006-04-28) [i686-linux]

On 4/28/06, kuppas kuppa [email protected] wrote:

Thanks for the tip and appreciate your help.

I have couple of more question.

  1. Is miniruby self-contained? (Is depend on any other
    files/libraries?)

Assuming you’re running Linux…
$ ldd miniruby
will tell you if it’s depending on any shared libraries.

  1. I am not sure, this is the right place to ask. Is mini ruby sufficent
    to run the ruby-on-rails?

I doubt it.