[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How do I release ruby program without the source?

Shin guey Wong

4/29/2008 7:07:00 AM

Can I use ruby 1.9 and compile it to byte code and release the byte
code?

Regards,
Shin Guey
--
Posted via http://www.ruby-....

1 Answer

Ken Bloom

4/29/2008 3:33:00 PM

0

On Tue, 29 Apr 2008 02:06:35 -0500, Shin guey Wong wrote:

> Can I use ruby 1.9 and compile it to byte code and release the byte
> code?
>
> Regards,
> Shin Guey

You can do it in JRuby, using jrubyc. This creates a single class file
containing the whole script. The JRuby classes cannot be used in Java
code, though I hear a compiler that can do this is in the long term plan
for JRuby.

--Ken

--
Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu...