From: Charles Oliver Nutter Date: 2007-09-03T00:38:52+09:00 Subject: Re: Seeing the source Michel Cabili wrote: > Hello. I'm new to Ruby (and also to scripting languages). > > I'd like to know if, since Ruby is a scripting language, there's a way > to hide the code when deploying an application. I'd users to be unable > to see the source. > > Is there a solution for that? There's a couple for JRuby that have been briefly mentioned: - JRuby can load .rb files from within a .jar file. Since most people don't know a .jar is just a zip file, many would never think to look in there. - JRuby can also compile most .rb into Java .class files. From there it's nearly impossible to get decompiled output that resembles either Java or Ruby. - Charlie