From: Antonio Cangiano Date: 2006-02-15T04:38:25+09:00 Subject: Re: How to run a Ruby file without installing Ruby? Rubyist wrote: > Oh, I tried it on a WinXP system but I failed! > Here is what I've done: > > 1. I downloaded "rubyscript2exe.rb" > 2. Made a trivial Ruby prog consisting only a puts "Hello" > 3. I also copied a "init.rb" to same directory > 4. And typed "ruby rubyscript2exe.rb blahblah.rb" > > :-( > > What did I do wrong? My native language isn't English and perhaps I > misunderstood the instructions on rubyscript2exe's website... Try this: 1. gem install rubyscript2exe 2. rubyscript2exe blah.rb blah.exe 3. blah.exe Cheers, Antonio -- Zen and the Art of Ruby Programming http://antoniocangiano.com