From: Calvin Date: 2009-05-19T21:40:07+09:00 Subject: Re: Beginner question pt.2 On May 18, 11:15 pm, Robert Klemme wrote: > 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 endhttp://blog.rubybestpractices.com/- Hide quoted text - > > - Show quoted text - Thanks Robert! When I type in Ruby1.9 -v i get: ruby 1.9.1p129 with some other text.