From: Tridib Bandopadhyay Date: 2010-10-23T01:10:31+09:00 Subject: Re: Ruby Compile. Jeremy Bopp wrote in post #956345: > On 10/22/2010 10:57 AM, Tridib Bandopadhyay wrote: >> >> --ruby calc.rb >>>It shows command not found. > > In the top level of your Ruby source directory should be the compiled > ruby program. The problem that this path is not in your PATH > environment variable, so simply invoking ruby as "ruby" will not find > it. There are a couple of options available to you: > > 1) Add the path to the directory containing the ruby program you built > to your PATH environment variable: > PATH=/path/to/ruby/source:$PATH > 2) Run ruby using an explicit path to ruby such as: > /path/to/ruby/source/ruby calc.rb > > There are other variations on these options, but these are the basics. > > -Jeremy I am running it on a server of my School....So i didn't get it how to do?. Secondly when I type ls -lt the latest file which shows is rbconfigure.rb Regards Tridib -- Posted via http://www.ruby-forum.com/.