From: Yukihiro Matsumoto Date: 2006-04-04T00:27:14+09:00 Subject: Re: [ ruby-Bugs-4017 ] testfile requires tmpdir unconditionally Hi, In message "Re: [ ruby-Bugs-4017 ] testfile requires tmpdir unconditionally" on Mon, 3 Apr 2006 22:54:07 +0900, noreply@rubyforge.org writes: |Initial Comment: |The 'testfile' module requires the 'tmpdir' module, which in return requires the 'tmpdir' module which is applicable only to win32 systems. When running in debug mode this generates an extraneous error: | |Exception `LoadError' at /usr/local/lib/ruby/1.8/tmpdir.rb:12 - no such file to load -- Win32API | |Suggest modifying the 'testfile' module to require 'tmpdir' only on Windows: Even though tmpdir tries to load Win32API, it is not for Win32 only, so that your patch would break tempfile library. matz.