Check version

  • Thread starter PÃ¥l Bergström
  • Start date
P

Pål Bergström

How do I check what version of Ruby I have, besides ruby -v? I'm trying
to figure out what version of 1.8.6 I have.
 
J

Jayson Williams

How do I check what version of Ruby I have, besides ruby -v? I'm trying
to figure out what version of 1.8.6 I have.
--

On a command line type
ruby --version

~Jay
 
P

Pål Bergström

On a command line type
ruby --version

~Jay

The same as ruby -v. I get "ruby 1.8.6 (2007-03-13 patchlevel 0)
[i686-darwin8.9.1]". How do I know what version of 1.8.6 I have? At
ruby-lang.org I see that they mention "Please upgrade to 1.8.5-p231".
How do I check that?
 
J

Jayson Williams

The same as ruby -v. I get "ruby 1.8.6 (2007-03-13 patchlevel 0)
[i686-darwin8.9.1]". How do I know what version of 1.8.6 I have? At
ruby-lang.org I see that they mention "Please upgrade to 1.8.5-p231".
How do I check that?
--

I think you have all the info you need. That "patchlevel" bit in
parens correlates to the p231 you saw on ruby-lang.org. You have
version 1.8.6-p0. My ruby -v reports 1.8.6 (2007-09-24 patchlevel 111)
that would be version 1.8.6-p111

~jay
 

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

No members online now.

Forum statistics

Threads
473,813
Messages
2,569,696
Members
45,481
Latest member
Arnulfo32P

Latest Threads

Top