From: Richard Conroy Date: 2007-05-05T00:14:00+09:00 Subject: Re: relocatable ruby distribution On 5/3/07, Charles Oliver Nutter wrote: > Richard Conroy wrote: > > OT: This brings me to an issue that I have been pondering for some time: > > - what is the minimum (file size) configuration of a Ruby Runtime install? > > With no gems and no docs included, we have a "jruby-complete" jar file > that has the full JRuby runtime plus the standard libraries we support > (most of them) that's around 3MB. Not too shabby for a complete Ruby > interpreter. Niiice. Didn't think it would go that low. Its not what I expected, but getting it *that* lean has implications for say getting a DSL into a Java app. I know in our line of work the size of the Java runtime is always an issue. Any resources on trimming the non-essentials? Considering that I *do* wish to use gems and such. Its one thing to trim out docs & non-essentials from the 1-click, but I would probably need to install local gems and stuff. Might be nice if there was a Rake task to do this all. > java -jar jruby-complete.jar -e "puts 'hello'" Hmmm ... I am going to have to start messing with JRuby pretty hardcore - it would map well to some of the Camping I am doing now.