From: "Marvin Gülker" Date: 2009-08-11T19:32:40+09:00 Subject: Re: Use Ruby to create Win executable? Hi Manuel, Manuel Souto Pico wrote: >1. I think it's entirely possible to create a GUI with Ruby (either with >Ruby itself or with Shoes). Is this right? (I'm more familiar with >writing Perl scripts that I execute on the command-line, I have no >experience with writing GUI). Ruby itself does not provide a GUI, but there are serveral different GUI toolkits for Ruby out there, Shoes is only one of them. If you have the Tk sources installed on your computer (I think you can get them from the TCL/Tk website for Windows) you should be able to use the "tk" library of Ruby's standard library. You could also use FxRuby or wxRuby (my favourite) or QtRuby, only to name a few. The most are available through RubyGems (type gem --version on the command line to see if it was installed with Ruby [ what is the regular case with Ruby 1.9.x ] ) Manuel Souto Pico wrote: >2. I think it's possible to convert the final program to a executable >file that I can distribute to Windows users for them to run the program >without the need to install Ruby first. Is this right? How should I do >that? How well does it work? For this goes the same as for 1. - there are serveral solutions to that. For long times rubyscript2exe.rb was *the* Windows executable generator (it wasn't a compiler), but nowadays you should use the Gem ocra (One-Click Ruby Application Builder) which does also care about the Gems needed for your scripts and is currently maintained. Marvin -- Posted via http://www.ruby-forum.com/.