From: Charles Calvert Date: 2009-05-22T13:28:22+09:00 Subject: Re: Create an exe with Ruby 1.9.1 On Tue, 19 May 2009 14:43:10 -0500, Alex wrote in <40a4cac50905191242h13c10f7as48c07db0e6609605@mail.gmail.com>: >As far as I know, there's currently no way to generate an exe out of a ruby >1.9 script, short of packing the ruby script into the exe and calling the >external ruby interpreter. Since the ruby interpreter runs on windows just >fine though, why are you in need of an exe? In the Windows world, it is not normal to expect end users to install an interpreter in order to run software. Because Windows software is almost exclusively distributed in executable binary form, that's what users expect. Depending on one's target market for an application, asking them to alter this expectation may well result in people refusing to use the software. Between a general lack of computer literacy and the fear of malware, it's a hard barrier to break. >In the future it may be possible to compile the ruby bytecode into an exe >and bundle an interpreter with it, but I'm pretty sure nothing like that >exists yet. An alternative might be IronRuby, if the OP is willing to live with the dependency on .NET. -- Charles Calvert | Web-site Design/Development Celtic Wolf, Inc. | Software Design/Development http://www.celticwolf.com/ | Data Conversion (703) 580-0210 | Project Management