From: Chad Fowler Date: 2004-10-14T01:36:59+09:00 Subject: Re: strange error when running "ruby -version" On Thu, 14 Oct 2004 01:29:33 +0900, +jeff wrote: > I used the latest windows installer from > http://rubyinstaller.rubyforge.org. I'm in windows XP. The error > looks like so: > > C:\eng\other-sw\wtr\watir\unittests>ruby -version > ruby 1.8.2 (2004-07-29) [i386-mswin32] > -e:1: undefined local variable or method `rsion' for main:Object > (NameError) > It should be: ruby -v (not ruby -version). In your example, it sees "-v" and then "-e". The stuff after "-e" gets executed, so it thinks you're trying to run a program with a single method call to "rsion". For an example, if you did: ruby -vegets It would print the version and wait for you to hit enter on your keyboard. Chad