Greetings, I downloaded jruby-bin-1.4.0.zip onto Mac OS X Leopard,
unzipped it, and attempted to test it:
$ cd jruby-1.4.0/
$ bin/jruby -version
jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java
HotSpot™ 64-Bit Server VM 1.6.0_17) [x86_64-java]
-e:1: undefined local variable or method `rsion’ for main:Object
(NameError)
$
I’m also seeing the exact same thing on a different box running Snow
Leopard.
Thanks,
Cameron
On Thu, Dec 17, 2009 at 07:22:18AM +0100, Cameron O’rourke wrote:
Greetings, I downloaded jruby-bin-1.4.0.zip onto Mac OS X Leopard,
unzipped it, and attempted to test it:
$ bin/jruby -version
-e:1: undefined local variable or method `rsion’ for main:Object (NameError)
I’m also seeing the exact same thing on a different box running Snow
Leopard.
Oh! even mri has this particular problems:
% ruby -version
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
-e:1: undefined local variable or method `rsion’ for main:Object
(NameError)
But --version works perfectly fine ;)!
Cheers
Reto
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Hi Reto,
thats a good one :-), as far as i remember
-v
not
-version like in java.
Best greetings,
Pawel Welgus.
2009/12/17, Reto S. [email protected]:
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Yeah, either -v or --version would do.
Thanks,
–Vladimir
2009/12/17 Paweł Wielgus [email protected]:
On Thu, Dec 17, 2009 at 07:22:18AM +0100, Cameron O’rourke wrote:
Oh! even mri has this particular problems:
  http://xircles.codehaus.org/manage_email
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Sorry guys… flipping between too many environments and solving for too
many unknowns at once I guess.
Yes, jruby --version works just fine.
The thing that annoys me is that java -version gets you the version
info (and -v is an unknown option) yet ruby/jruby have the jruby -v
thing going… it screws me up all the time
Jay
On Thu, Dec 17, 2009 at 11:09 AM, Cameron O’rourke
[email protected] wrote:
http://xircles.codehaus.org/manage_email
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I agree it’s annoying. I think it’s Java that’s wrong here, since the
unix standard is that full-word flags have – and single-letter flags
use -.
Oh well
On Thu, Dec 17, 2009 at 11:57 AM, Jay McGaffigan [email protected]
wrote:
many unknowns at once I guess.
To unsubscribe from this list, please visit:
  http://xircles.codehaus.org/manage_email
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email