Building ruby 1.9.2-p290 on Cygwin Windows x64

Wanted to pass along this fix for anyone else who has received the
following
error when trying to build ruby 1.9.2-p290 from source in Cygwin on a
Win
x64 platform:

“uh-oh! RDoc had a problem: file ‘.’ not readable”

In the ruby source directory, change the following line in the file
common.mk from:

rdoc: PHONY main
$(XRUBY) “$(srcdir)/bin/rdoc” --no-force-update --all --ri --op
“$(RDOCO
UT)” $(RDOCFLAGS) “$(srcdir)”

to:

rdoc: PHONY main
$(XRUBY) “$(srcdir)/bin/rdoc” --no-force-update --all --ri --op
“$(RDOCO
UT)” $(RDOCFLAGS)

I was able to successfully run configure ; make ; make install after
doing
so. I suspect that since RDoc defaults to building source documents in
the
current directory, the extra “$(srcdir)” is not needed.

Marc