I've tried using the windows installer from Ruby-mswin32 and the one from RubyInstaller. I've also tried both 1.8.1 and 1.8.2. Both of them give me an error like so when asking ruby for it's version:
C:\>ruby -version
ruby 1.8.1 (2003-12-25) [i386-mswin32]
-e:1: undefined local variable or method `rsion' for main:Object (NameError)
Is this a problem? There are other problems I'm trying to figure out but first I want to make sure my ruby install is good.
Thanks.
Jeff Barrett wrote:
I've tried using the windows installer from Ruby-mswin32 and the one
from RubyInstaller. I've also tried both 1.8.1 and 1.8.2. Both of
them give me an error like so when asking ruby for it's version:
C:\>ruby -version
ruby 1.8.1 (2003-12-25) [i386-mswin32]
-e:1: undefined local variable or method `rsion' for main:Object
(NameError)
Is this a problem? There are other problems I'm trying to figure out
but first I want to make sure my ruby install is good.
Thanks.
Try "ruby -v" or "ruby --version".
--Wayne
Btw, the reason that
ruby -version
failed is that it is the same as
ruby -v -ersion
i.e.
ruby -v -e rsion
This is why it prints the Ruby version and then tries to evaluate "rsion".
ยทยทยท
In article <1098293326.044176.139170@z14g2000cwz.googlegroups.com>, WayneFChin@gmail.com wrote:
Jeff Barrett wrote:
I've tried using the windows installer from Ruby-mswin32 and the one
from RubyInstaller. I've also tried both 1.8.1 and 1.8.2. Both of
them give me an error like so when asking ruby for it's version:
C:\>ruby -version
ruby 1.8.1 (2003-12-25) [i386-mswin32]
-e:1: undefined local variable or method `rsion' for main:Object
(NameError)
Is this a problem? There are other problems I'm trying to figure out
but first I want to make sure my ruby install is good.
Thanks.
Try "ruby -v" or "ruby --version".
--Wayne
--
Tim Sutherland <timsuth@ihug.co.nz>
2004 SDKACM President
Software Developers' Klub - the University of Auckland ACM Student Chapter
http://www.sdkacm.com/