> 1) Is there a way to package my test scripts to run on a > machine that don't have Ruby/Watir installed. > > 2) If a PC has Ruby/Watir installed but don't have eclipse > ide ,is there a way to make my scripts into an executable > and the person running the scripts could just double click > on the file
Google for rubyscript2exe. I haven't used it myself, but I know people who've used it with great success. In a nutshell, it creates an executable .dll file from any particular script you have that contains all require/include libraries and the ruby interpreter itself. (Pay attention to user input, though-- if you have any ARGV stuff, you'll have to change your script to get them from STDIN.) Also keep in mind that it isn't foolproof. Windows machines are weird, and sometimes the executable doesn't work. But it works enough that I definitely recommend you try it. -Chris _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
