problem w/ ruby install on windows -- or not?

J

Jeff Barrett

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.
 
W

WayneFChin

Jeff said:
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.

Try "ruby -v" or "ruby --version".

--Wayne
 
T

Tim Sutherland

Jeff said:
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.

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".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,160
Messages
2,570,889
Members
47,420
Latest member
ZitaVos505

Latest Threads

Top