Issue #4503 has been reported by Jos Backus.

----------------------------------------
Bug #4503: ext/win32ole writes into $srcdir during build, breaking read-only source tree builds
http://redmine.ruby-lang.org/issues/4503

Author: Jos Backus
Status: Open
Priority: Low
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]


ext/win32ole/extconf.rb writes a .document file into $srcdir, which violates the premise of a read-only source tree.

Possible workarounds:
* check in a static .document file containing win32ole.c, and remove the code in extconf.rb that creates the .document file dynamically;
* don't create the .document file if the extension cannot be built, by removing
  
    else
      create_docfile("")

  from create_win32ole_makefile in extconf.rb.



-- 
http://redmine.ruby-lang.org