Modified for Windows. Because I got the following on my Windows 7 pc.

C:\tmp>jruby -S irb
irb(main):001:0> RbConfig::CONFIG['host_os']
=> "mswin32"