From: Rajinder Yadav Date: 2010-11-01T08:09:23+09:00 Subject: Re: What does ruby.exe do? On 10-10-30 05:34 AM, Kaye Ng wrote: > In my folder C:\Ruby192\bin , there is ruby.exe > > What is it and what does it do? > > The book I'm reading gives an option of running Ruby > this way: > create a shortcut to the Ruby executable file (ruby.exe) > and drop your source code file(s) onto it. > > If i have saved a file named example1.rb, how do I 'drop' > 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' get use to typing in the command line and rebuke the ms gui ide drag & drop mentality, you will be better off in the the long run -- 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