# Knowing if the CLR/BCL is available

**URL:** <https://www.ruby-forum.com/t/knowing-if-the-clr-bcl-is-available/131609>\
**Category:** IronRuby\
**Created:** [March 11, 2008, 9:40pm UTC](https://www.ruby-forum.com/t/knowing-if-the-clr-bcl-is-available/131609 "2008-03-11T21:40:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreamwave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/7feea3/32.png) [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Post date:** [March 11, 2008, 9:40pm UTC](https://www.ruby-forum.com/t/knowing-if-the-clr-bcl-is-available/131609/1 "2008-03-11T21:40:35Z")

</div>

So what’s going to be the preferred way of knowing if your ruby app is  
running under IronRuby? RUBY\_PLATFORM can’t be used because it’s just  
i386-mswin32, this doesn’t tell us that CLR interop is available…  
could be handy to have…

–  
Michael L.  
[Polymath Prokrammer]  
[http://blog.prokrams.com](http://blog.prokrams.com)

---

<div class="post-metadata">

**Author:** ![dreamwave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/7feea3/32.png) [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Post date:** [March 11, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/knowing-if-the-clr-bcl-is-available/131609/2 "2008-03-11T21:56:02Z")

</div>

Michael L.:

> So what’s going to be the preferred way of knowing if your ruby app is  
> running under IronRuby? RUBY\_PLATFORM can’t be used because it’s just  
> i386-mswin32, this doesn’t tell us that CLR interop is available…  
> could be handy to have…

Not available yet, but IRONRUBY\_VERSION will be the constant.

-John
