From: Daniel Peikes Date: 2007-12-10T03:15:12+09:00 Subject: EXE in windows I am new to Ruby (not to programming) and am trying to make executable files in Windows. The doc I am looking at only seems to have instructions for exe's on unix/linux. Any advise on who to do this or whre to look to figure it out ******************************************************************************** http://www.math.umd.edu/~dcarrera/ruby/0.3/chp_01/programs.html Making programs executable If you are running Linux or Unix, you can make your Ruby programs executable, so they can be run like any other program. First, you need to know where Ruby is installed in your system. Type 'which ruby' on a terminal: Precede this by '#!' (pronounced "sharp bang") and make that the very first line of your program. Now you can type 'chmod +x prog.rb' to make the program executable ('+x' means "executable"). Warning: Make sure that you type this exactly and that it's the very first line of your program. If there is a blank line above this one, this won't work. If there is a space before the '#!',this won't work. ******************************************************************************** -- Posted via http://www.ruby-forum.com/.