[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

rdoc windows issues

Alex Combas

2/15/2006 9:43:00 PM

Here is a more detailed description of what is wrong with rdocI'm trying to build ruby from source using the stable-snapshot from here:ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.... on a winXP box using mingw/msysRuby 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:59make: *** [do-install-doc] Error 1Seems like this is a window issue andperhaps there are somethings in the wrong placeshere are the relevant lines from the files mentioned in theoutput.*Here is line 59 of ./bin/rdocrequire 'rdoc/rdoc'*Here is line 8 of c:/ruby/build/ruby/lib/rdoc/rdoc.rbrequire 'rdoc/parsers/parse_rb.rb'*Here is line 16 of c:/ruby/build/ruby/lib/rdoc/parsers/parse_rb.rbrequire "tracer"*Here is line 27 from c:/ruby/build/ruby/lib/tracer.rbMY_FILE_NAME = caller(0)[0].scan(/^(.*):[0-9]+$/)[0][0]Can anyone make heads or tails of whats wrong with my setup?Thank you!--Alex Combashttp://noodlejunkie.blo...