On May 23, 3:46 ¨Âí¬ Áäòéáî Áòìåãèéî ¼áäòéáî®ãé®®®Àçíáéì®ãïí¾ ÷òïôåº
> I have some Java experience and jus try to understand Ruby
> I have two problems:
> First: how can I deploy a ruby app. Is there something like jar? or the
> application is started allwais going to the command line? The source
> files can't be hidden and/or protected?
> And the second:
> From Java I now that is better to code yourself the GUI and not to use a
> GUI maker, but in Ruby must I learn Tk?, this beeing presented in the
> "Programming Ruby - The Pragmatic Programmer's Guide"
> I have seen an IDE called wxFormBuilder wich make the GUI developement
> very easy, but how do I connect the code to a ruby program? I looked
> around the web and in some Ruby books and I didn't find a explenation.
> A simple example will be great: a file made with wxFormBuilder wich
> takes two numbers in two text fields, and two buttons one for
> multiplication and one for division, with output to another text field.
> I think such explenation will help a lot of people in their first steps
> in Ruby
> Thanks
> --
> Posted viahttp://www.ruby-forum.com/.

Ruby apps are typically deployed as gems. Yes, your source is as plain
as day, but is that really *so* much different than Java, given the
ease of disassembling bytecode (and the numerous tools that do a
fantastic job of it)? Also bindings for just about every graphics
toolkit known to man exist for Ruby, a simple google search will help
you with that. One of the more interesting approaches to this though
is http://shoooes.net/, you should give it a look.