[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Check version

Pål Bergström

7/3/2008 3:53:00 PM

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.
--
Posted via http://www.ruby-....

3 Answers

Jayson Williams

7/3/2008 4:24:00 PM

0

On Thu, Jul 3, 2008 at 11:52 AM, P=E5l Bergstr=F6m <pal@palbergstrom.com> w=
rote:
> 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ål Bergström

7/3/2008 4:35:00 PM

0

Jayson Williams wrote:
> On Thu, Jul 3, 2008 at 11:52 AM, P�l Bergstr�m <pal@palbergstrom.com> wrote:

> 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?
--
Posted via http://www.ruby-....

Jayson Williams

7/3/2008 5:05:00 PM

0

On Thu, Jul 3, 2008 at 12:35 PM, P=E5l Bergstr=F6m <pal@palbergstrom.com> w=
rote:
> 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