From: Rajinder Yadav Date: 2010-11-02T12:12:22+09:00 Subject: Re: What does ruby.exe do? On Sun, Oct 31, 2010 at 9:51 PM, Kaye Ng wrote: > Rajinder Yadav wrote in post #958380: >> On 10-10-30 05:34 AM, Kaye Ng wrote: >>> it onto ruby.exe ? >>> >>> Thanks geniuses. >>> >> >> just put "C:\Ruby192\bin" at the end of your path environment, open up >> cmd.exe in the folder where the example lives, and then type >> >> 'ruby.exe example1.rb' >> > > May I ask why 'ruby.exe example1.rb' when 'example1.rb' alone is > sufficient? because someone here posted once that .rb extension failed to get registered in windows during install, i was too lazy to go into details then =P the way you're doing it is fine, my was a more fool proof method if typing example.rb failed to work -- Kind Regards, Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely GNU/Linux: 2.6.35-22-generic Kubuntu x86_64 10.10 | KDE 4.5.1 Ruby 1.9.2p0 | Rails 3.0.1