From: Daniel Berger Date: 2007-10-23T21:27:20+09:00 Subject: Re: Stripping down One-Click Ruby Installer folder for deployment Luis Lavena wrote: > On Oct 22, 9:35 am, "Philippe Lang" > wrote: >> Hi, >> >> I'd like to deploy an client ruby application by copying the "c:\ruby" >> folder to the target computers. >> >> It works fine, except that c:\ruby is 177 MB big, and full of things >> that are not necessary at all on client computers. >> >> I have tried keeping the following folders: >> >> - "c:\ruby\." >> - "c:\ruby\bin" >> - "c:\ruby\lib" >> >> It works, but I'd like to know if anyone has a more "scientific" >> approach to that problem. What folders are absolutely needed? >> >> Note that I know about rubyscript2exe.rb; it works just fine for small >> applications, but it's not an option in this case. >> >> Thanks! >> >> Philippe > > Phillipe, most of the used space is wasted on documentation (in the > form of yaml for RI and .html for Rdoc). > > Those are located in lib\ruby\gems\1.8\doc and the share\ri > \1.8\system > > Also, try removing gems that you don't need for it. > > I know, isn't "scientific" nor bulletproof, but will work :-) I've asked for just a "core Ruby" distro in the past (i.e. no stdlib even), but Matz was less than enthusiastic about it. Regards, Dan