From: Alex Combas Date: 2006-02-15T16:18:03+09:00 Subject: gem/rdoc/ri errors on mingw Hello,yesterday I switched from the very good, perfectly functionalone-click installer to a build-it-yourself-ruby-compile on winXPwith the mingw environment. All went very smoothly.Great documents on setting up mingw/msys herehttp://mingw.org/MinGWiki/index.php/RealDumbQuickstart?PHPSESSID=0691a1dc17253ae9792187c3b78816ad and Great documents on building ruby on windows herehttp://www.rubygarden.org/ruby?HowToBuildOnWindows Follow this up, by getting ruby-gnome2 setup with this wonderful dochttp://ruby-gnome2.sourceforge.jp/hiki.cgi?Install+Guide+for+Windows Mingw works! Ruby works! Ruby-Gnome works! ...rdoc doesnt work.. ri doesnt work.. gem doesnt either... big uhohs!! Here is some output: $> ruby -vruby 1.8.4 (2006-02-14) [i386-mingw32]$>cd /c/ruby/build/ruby$> make install-docGenerating RDoc documentation./miniruby.exe ./runruby.rb --extout=.ext -- "./bin/rdoc" --all --ri--op "C:/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 1$> gemsh: gem: command not found$> rdocc:/ruby/lib/ruby/1.8/tracer.rb:27:in `(null)': undefined method `[]'for nil:NilClass (NoMethodError) from c:/ruby/lib/ruby/1.8/rdoc/parsers/parse_rb.rb:16:in `(null)' from c:/ruby/lib/ruby/1.8/rdoc/rdoc.rb:8:in `(null)' from c:/ruby/bin/rdoc:59$> ri Installing Documentation------------------------'ri' uses a database of documentation built by the RDoc utility. So, how do you install this documentation on your system? It depends onhow you installed Ruby. _If you installed Ruby from source files_ (that is, if it some point youtyped 'make' during the process :), you can install the RDocdocumentation yourself. Just go back to the place where you have yourRuby source and type make install-doc You'll probably need to do this as a superuser, as the documentation isinstalled in the Ruby target tree (normally somewhere under+/usr/local+. _If you installed Ruby from a binary distribution_ (perhaps using aone-click installer, or using some other packaging system), then theteam that produced the package probably forgot to package thedocumentation as well. Contact them, and see if they can add it to thenext release. No ri documentation found in: Was rdoc run to create documentation?$> Anyone know how to properly setup a ruby compile so that gem/ri/rdocwill work as expected? Anyone have a clue why 'make install-doc' fails? Thanks for any help. --Alex Combashttp://noodlejunkie.blogspot.com/