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

···

--
Posted via http://www.ruby-forum.com/.

Hi,

kuppas kuppa <kuppas@gmail.com> 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]

···

--
eban

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 <kuppas@gmail.com> 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]

--
Posted via http://www.ruby-forum.com/\.

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.

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

I doubt it.

···

On 4/28/06, kuppas kuppa <kuppas@gmail.com> wrote:

WATANABE Hirofumi wrote:
> Hi,
>
> kuppas kuppa <kuppas@gmail.com> 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]

--
Posted via http://www.ruby-forum.com/\.