From: Eric Hodel Date: 2006-12-04T15:08:09+09:00 Subject: Re: How to get operating system type info On Dec 3, 2006, at 12:00 , Dao Shi wrote: > Thanks Ken and Paul! > > This is exactly what I need. > > BTW I think this might be helpful for others as well. > > http://www.tua.ch/ruby/platform/platform.html > > And is this a bug here? > > rdoc/options.rb line 536 : > > # Check that the right version of 'dot' is available. > # Unfortuately this doesn't work correctly under Windows NT, > # so we'll bypass the test under Windows > > def check_diagram > return if RUBY_PLATFORM =~ /win/ Yes, should be /mswin/. Please file a bug: http://rubyforge.org/tracker/?func=add&group_id=627&atid=2472 -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net I LIT YOUR GEM ON FIRE!