From: Robert Klemme Date: 2009-05-19T15:20:02+09:00 Subject: Re: Beginner question pt.2 On 19.05.2009 05:33, Calvin wrote: > When I type this into the terminal it works... but I am wondering if I > am going about things the right way: > > $ /opt/local/bin/ruby1.9 -v > > $ cd > > $ cd Desktop > > $ cd programs > > $ ruby1.9 calc.rb > > then the math equation answer from calc.rb shows up in the terminal. > Am I correct in thinking that ruby 1.9.1 is the ruby that is working > and not ruby 1.8.6? It's likely but program names can be changed arbitrarily. If you want to be sure you can easily find out by entering ruby1.9 -v Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/