hi, friends As a ruby newbie, i want to know whether or not there exists any ruby compiler ? sometimes i really cannot distribute source code to our customer :( regards! _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Well... Ruby is interpreted. So to run, it needs the source. YARV is a Ruby virtual machine under development, but won't be ready until Ruby 2.0 (sometime next year, right matz? ;) So no. They need the source. If I may ask, why can't you distribute the it? If there is something absolutely, positively, top-secret-at-all-costs, you could rewrite only that part in C using RubyInline (a fantastic piece of software, btw) and it'd work flawlessly without giving away the source for that section of the code. Jacob On 10/29/05, z-axis <z_axis@163.com> wrote:> > hi, friends > As a ruby newbie, i want to know whether or not there exists any ruby > compiler ? sometimes > i really cannot distribute source code to our customer :( > > regards! > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Jacob Quinn Shenker,您好! It is a Good suggestion to write some code in C. thanks ! ======== 2005-10-29 22:55:00 您在来信中写道: ======= Well... Ruby is interpreted. So to run, it needs the source. YARV is a Ruby virtual machine under development, but won''t be ready until Ruby 2.0 (sometime next year, right matz? ;) So no. They need the source. If I may ask, why can''t you distribute the it? If there is something absolutely, positively, top-secret-at-all-costs, you could rewrite only that part in C using RubyInline (a fantastic piece of software, btw) and it''d work flawlessly without giving away the source for that section of the code. Jacob On 10/29/05, z-axis < z_axis-9Onoh4P/yGk@public.gmane.org> wrote:>> >> hi, friends >> As a ruby newbie, i want to know whether or not there exists any ruby >> compiler ? sometimes >> i really cannot distribute source code to our customer :( >> >> regards! >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> >>_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails = = = = = = = = = = = = = = = = = = = = = = 致 礼! z-axis z_axis-9Onoh4P/yGk@public.gmane.org 2005-10-30 _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On Sun, Oct 30, 2005, z-axis wrote:> hi, friends > As a ruby newbie, i want to know whether or not there exists any ruby compiler ? sometimes > i really cannot distribute source code to our customer :(In addition to the C solution that was already suggested, another option is to host the application for the client or to provide them with a box that they don''t have access to. They still can use the software, but you remain in control of the application code. Ben
There is also a Rubytoexe that works. I saw an article recently where someone was even embedding rails inside of it. So you distribute and independant exe without the need to install ruby(like for a demo) Manu --- Ben Bleything <ben-TGHtUsa5cOzMFIMGWPqnnw@public.gmane.org> wrote:> On Sun, Oct 30, 2005, z-axis wrote: > > hi, friends > > As a ruby newbie, i want to know whether or not > there exists any ruby compiler ? sometimes > > i really cannot distribute source code to our > customer :( > > In addition to the C solution that was already > suggested, another option > is to host the application for the client or to > provide them with a box > that they don''t have access to. They still can use > the software, but > you remain in control of the application code. > > Ben > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >__________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
Manu wrote:> There is also a Rubytoexe that works. I saw an article > recently where someone was even embedding rails inside > of it. So you distribute and independant exe without > the need to install ruby(like for a demo)But that still involves sending the client the source code... -- Alex
If all you want to do is avoid sending source code to a client, and your target platform is Windows, then go here: http://www.erikveen.dds.nl/rubyscript2exe/index.html Problem reasonably solved. Here, there''s a tutorial on packaging up a whole Rails application using rubyscript2exe: http://www.erikveen.dds.nl/distributingrubyapplications/rails.html Below, Alex misunderstood, I think, what was meant by embedding Rails -- you do *not* need to send source code after using this script. An .exe file is generated, you run that, your customers marvel at your brilliance and you shrug your shoulders, say "No ... stop. I think *genius* is a bit extreme ... a bit ..." Peace, Greg
On 10/30/05, Greg McClure <gmcclure-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If all you want to do is avoid sending source code to a client, and > your target platform is Windows, then go here: > > http://www.erikveen.dds.nl/rubyscript2exe/index.html > > Problem reasonably solved. > > Here, there''s a tutorial on packaging up a whole Rails application > using rubyscript2exe: > > http://www.erikveen.dds.nl/distributingrubyapplications/rails.html > > Below, Alex misunderstood, I think, what was meant by embedding Rails > -- you do *not* need to send source code after using this script. An > .exe file is generated, you run that, your customers marvel at your > brilliance and you shrug your shoulders, say "No ... stop. I think > *genius* is a bit extreme ... a bit ..."Actually, Alex was right. The source is still accessible by the recipient of the exe file. "c:\home\erik> application.exe --eee-justextract" http://www.erikveen.dds.nl/eee/index.html#3.1.3> Peace, > Greg > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Bill Guindon (aka aGorilla)