From: Rhys Powell Date: 2010-09-03T13:25:38+09:00 Subject: Re: Ruby installation --0016364275da9184c1048f535232 Content-Type: text/plain; charset=UTF-8 If you add #!/usr/bin/env ruby to the start of the file and then run the chmod +x test.rb command in the terminal (where text.rb is your file) you can make it executable in Linux. - Rhys "Frog" Powell On 3 September 2010 05:15, Alex Stahl wrote: > Uhh, you don't. Ruby is an interpreted language, meaning the source > code is converted to machine-readable code at runtime. > > What you're asking is for compiled languages - converted to > machine-readable prior to execution. > > There are tools available to create binaries from ruby scripts, but I've > not heard great things about them, and that's contrary to the way you > should use ruby. > > And what do you need exe's for if you on linux anyway? Seems you're a > little more confused than you might know... > > > On Thu, 2010-09-02 at 13:59 -0500, Tridib Bandopadhyay wrote: > > Can anyone help me in how to make the Ruby source files to executable > > file. > > > > I have the source code of Ruby and running in an interface of Linux.But > > I am confused how to make the files in *.exe format. > > > > Regards > > > > Tridib Bandopadhyay > > > > --0016364275da9184c1048f535232--