How to get System-Informations-Collection of common programming errors

I want to get the location of the current user. Because I want to cahnge my APP based on his location/region.

On my research, I found this: http://ruby-doc.org/stdlib-1.9.3/libdoc/win32ole/rdoc/WIN32OLE.html

require 'win32ole'

But I can’t use it, because I work with the “RPG Maker VX ACE” which contains a Ruby-Runtime.

Do you know, a other way to achieve this?

Best wishes, Evolto