From: Roger Pack Date: 2010-01-15T06:58:24+09:00 Subject: Re: os gem: initial release: easier platform management Phillip Gawlowski wrote: >>>> OS.ruby_exe >> => "c:\ruby18\bin\ruby.exe" # or "/usr/local/bin/ruby" or what not > > I'd alias this to #ruby_bin since that is more natural on non-Windows > platforms. Good idea. I released a new version that only has ruby_bin :) > I'd make #posix? more robust, too, since !OS.windows just tests if an OS > isn't Windows, not if it is POSIX compliant. ;) Good idea. Implemented a first hack at it, though I haven't download interix' ruby to test it :) -r -- Posted via http://www.ruby-forum.com/.