# Rdoc windows issues

**URL:** <https://www.ruby-forum.com/t/rdoc-windows-issues/68893>\
**Category:** Ruby\
**Created:** [February 15, 2006, 10:44pm UTC](https://www.ruby-forum.com/t/rdoc-windows-issues/68893 "2006-02-15T22:44:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![combas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@combas](https://www.ruby-forum.com/u/combas)\
**Post date:** [February 15, 2006, 10:44pm UTC](https://www.ruby-forum.com/t/rdoc-windows-issues/68893/1 "2006-02-15T22:44:07Z")

</div>

Here is a more detailed description of what is wrong with rdoc  
I’m trying to build ruby from source using the stable-snapshot from  
here:  
ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz

Building on a winXP box using mingw/msys

Ruby builds just fine, everything seems to work afaik.  
To configure and build I used the following:

./configure --prefix=C:\ruby --enable-shared  
(fine)

make  
(fine)

make install  
(fine)

make install-doc  
(broken!)

Generating RDoc documentation  
./miniruby.exe ./runruby.rb --extout=.ext – “./bin/rdoc” --all --ri  
–op “C:/test\_ruby/share/ri/1.8/system” “.”  
c:/ruby/build/ruby/lib/tracer.rb:27:in `(null)': undefined method`[]’  
for nil:NilClass (NoMethodError)  
from c:/ruby/build/ruby/lib/rdoc/parsers/parse\_rb.rb:16:in  
`(null)' from c:/ruby/build/ruby/lib/rdoc/rdoc.rb:8:in`(null)’  
from ./bin/rdoc:59  
make: \*\*\* [do-install-doc] Error 1

Seems like this is a window issue and  
perhaps there are somethings in the wrong places  
here are the relevant lines from the files mentioned in the  
output.

\*Here is line 59 of ./bin/rdoc  
require ‘rdoc/rdoc’

\*Here is line 8 of c:/ruby/build/ruby/lib/rdoc/rdoc.rb  
require ‘rdoc/parsers/parse\_rb.rb’

\*Here is line 16 of c:/ruby/build/ruby/lib/rdoc/parsers/parse\_rb.rb  
require “tracer”

_Here is line 27 from c:/ruby/build/ruby/lib/tracer.rb  
MY\_FILE\_NAME = caller(0)[0].scan(/^(._):[0-9]+$/)[0][0]

Can anyone make heads or tails of whats wrong with my setup?  
Thank you!
