From: Tommy Morgan Date: 2008-06-27T02:04:57+09:00 Subject: Re: undefined local variable or method 'rsion' for main:Object ------=_Part_4536_9456152.1214500032049 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Steve; If you run `ruby -version`, since you only use a single dash, the word 'version' isn't treated as a single flag but instead as a list of flags. In this case, it picks up the -v flag, which prints the version information. Then it tries to process the e flag, which basically says "the rest of this line is a ruby script to execute." So ruby faithfully attempts to parse "rsion", which is where you're getting the NameError. To just get the version info, you can do `ruby -v` or `ruby --version`. Hope that helps, --TM On Thu, Jun 26, 2008 at 12:58 PM, 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. > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_4536_9456152.1214500032049--