# OS and IE version detection

**URL:** <https://www.ruby-forum.com/t/os-and-ie-version-detection/178138>\
**Category:** Ruby\
**Created:** [October 29, 2009, 5:39pm UTC](https://www.ruby-forum.com/t/os-and-ie-version-detection/178138 "2009-10-29T17:39:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paragadosm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c68b51/32.png) [@paragadosm](https://www.ruby-forum.com/u/paragadosm)\
**Post date:** [October 29, 2009, 5:39pm UTC](https://www.ruby-forum.com/t/os-and-ie-version-detection/178138/1 "2009-10-29T17:39:36Z")

</div>

I’ve looked around but haven’t came across something that helps me. In  
my Ruby script, I want to acquire the Windows version and Internet  
Explorer version of the individual running the script. Here’s the catch,  
HTTP\_USER\_AGENT returns nil in the script, possibly because we run  
through proxy, so I don’t think I can use that in any way.

Any other way to acquire those details other than using user\_agent?
