From: Dao Shi Date: 2006-12-04T05:00:48+09:00 Subject: Re: How to get operating system type info 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/ darwin will match this too.... -- Posted via http://www.ruby-forum.com/.