> -----Original Message----- > From: Alex Combas [mailto:alex.combas / gmail.com] > Sent: Wednesday, February 15, 2006 2:43 PM > To: ruby-talk ML > Subject: rdoc windows issues > > > 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 <snip> > *Here is line 8 of c:/ruby/build/ruby/lib/rdoc/rdoc.rb > require 'rdoc/parsers/parse_rb.rb' Hm, that .rb can be removed. But I digress. > *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! There's nothing wrong with your setup. I'd call it a bug. Change that line to: MY_FILE_NAME = __FILE__ Looks to me like the MY_FILE_NAME constant should be refactored out of tracer.rb completely. It doesn't serve much use. Regards, Dan