# Ruby\_version

**URL:** <https://www.ruby-forum.com/t/ruby-version/125645>\
**Category:** IronRuby\
**Created:** [January 10, 2008, 10:37pm UTC](https://www.ruby-forum.com/t/ruby-version/125645 "2008-01-10T22:37:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![editkid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/977dab/32.png) [@editkid](https://www.ruby-forum.com/u/editkid)\
**Post date:** [January 10, 2008, 10:37pm UTC](https://www.ruby-forum.com/t/ruby-version/125645/1 "2008-01-10T22:37:14Z")

</div>

Currently RUBY\_VERSION reports 1.0.0.0. This is set in  
Ruby.Runtime.RubyContext.

```
    public const string/*!*/ Version = "1.0.0.0";

```

What is the strategy for this value? Will it be set to the CRuby  
version  
that we are targeting, e.g. 1.8.6 or will IronRuby run its own version  
numbering?

Pete

---

<div class="post-metadata">

**Author:** ![editkid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/977dab/32.png) [@editkid](https://www.ruby-forum.com/u/editkid)\
**Post date:** [January 10, 2008, 10:51pm UTC](https://www.ruby-forum.com/t/ruby-version/125645/2 "2008-01-10T22:51:23Z")

</div>

It should be CRuby version. We can introduce additional constant  
IRONRUBY\_VERSION if necessary.

Tomas

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Peter Bacon  
Darwin  
Sent: Thursday, January 10, 2008 1:37 PM  
To: removed\_email\_address@domain.invalid  
Subject: [Ironruby-core] RUBY\_VERSION

Currently RUBY\_VERSION reports 1.0.0.0. This is set in  
Ruby.Runtime.RubyContext.  
public const string/_!_/ Version = “1.0.0.0”;  
What is the strategy for this value? Will it be set to the CRuby  
version that we are targeting, e.g. 1.8.6 or will IronRuby run its own  
version numbering?  
Pete
