Steve Meyer wrote:
> I just installed ruby 1.8.6, on RHEL 5.1
> my configure command was:
> ./configure --prefix=/usr/local --enable-pthread --enable-shared
> --with-readline-dir=/usr
> 
> When I run the version command, after the version info is displayed the
> error:
> -e:1: undefined local varriable or method 'rsion' for main:Object
> (NameError) appears.

There is a -v option and a --version option, but no -version option. 
(Count the dashes.)

>ruby -v
ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-mswin32]

>ruby -version
ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-mswin32]
-e:1: undefined local variable or method `rsion' for main:Object 
(NameError)

>ruby --version
ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-mswin32]
-- 
Posted via http://www.ruby-forum.com/.