From: Patrick Hurley Date: 2006-02-15T00:09:17+09:00 Subject: Re: How to run a Ruby file without installing Ruby? On 2/14/06, Rubyist wrote: > { > Check out the wonderful gem rubyscript2exe sounds like exactly that > > which you are seeking. > > pth } > > 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... > > > Use the gem: gem install rubyscript2exe Then run/build your app: rubyscript2exe hello.rb *poof* you should have a hello.exe if not cut and paste the errorse and we can try again pth