How do you make an executable file in Ruby? What software does one use with it?
on 2007-01-29 17:11
on 2007-01-29 17:26
Assuming I did not completely misunderstand what you are asking.... 1) Put the following as the first line in your ruby file: #!/usr/bin/env ruby 2) Grant execute permissions to your file with the following command: chmod +x my_file.rb
on 2007-01-29 17:30
>> How do you make an executable file in Ruby? What software does one >> use >> with it? How does one update the Ruby FAQ? Does everything have to go through Dave?
on 2007-01-29 17:41
Rae wrote: > How do you make an executable file in Ruby? What software does one use > with it? If you wish to do an executable in windows envioment, check out http://www.erikveen.dds.nl/rubyscript2exe/index.html. Is not posible to compile ruby to and exe or even to bytecode (like java's jar files), but the solution i pointed you to, generates an exe with the interpreter plus every library your program uses into a single exe. It works pretty well.
on 2007-01-29 17:47
Hi -- On Tue, 30 Jan 2007, Andy Lester wrote: >>> How do you make an executable file in Ruby? What software does one use >>> with it? > > How does one update the Ruby FAQ? Does everything have to go through Dave? The current FAQ is on rubygarden.org. As of this moment it's down... due to some memory-hog problems, but we're working on it. There's also an old FAQ on rubycentral.com. I've tried to contact the registrants of that address, in the hope of getting it transferred to Ruby Central (it's currently registered with Pearson publishing), but have had no luck by phone or email. Unfortunately, this has caused confusion, since lots of links to the old FAQ are still in circulation. And, without doubt, the content needs some attention anyway. There's a FAQ suggestion facility, but since it's down right now, it's not available. Stay tuned.... David
on 2007-01-29 18:12
Thanks that's what I should have asked. The tutorial bundle only explains how to do if you're using linux or unix. Rae On Jan 29, 11:41 am, Emmanuel Oga <oga_emmanuel_...@yahoo.com.ar>