Issue #8989 has been updated by Adrien Lamothe.


This is still a problem when building 2.2.0-preview1.


----------------------------------------
Bug #8989: Ruby 2.1 unable to build because of problem with rdoc directory
https://bugs.ruby-lang.org/issues/8989#change-49853

* Author: Adrien Lamothe
* Status: Feedback
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: build
* Target version: current: 2.2.0
* ruby -v: ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
----------------------------------------
Trying to build ruby-2.1.0-preview1 and am receiving the following error when running make:

Generating RDoc documentation

Directory .ext/rdoc already exists, but it looks like it isn't an RDoc directory.

Because RDoc doesn't want to risk destroying any of your existing files,
you'll need to specify a different output directory name (using the --op <dir>
option)

/usr/software/ruby/ruby-2.1.0-preview1/lib/rdoc/rdoc.rb:108:in `error'
	/usr/software/ruby/ruby-2.1.0-preview1/lib/rdoc/rdoc.rb:208:in `rescue in setup_output_dir'
	/usr/software/ruby/ruby-2.1.0-preview1/lib/rdoc/rdoc.rb:195:in `setup_output_dir'
	/usr/software/ruby/ruby-2.1.0-preview1/lib/rdoc/rdoc.rb:475:in `document'
	./bin/rdoc:20:in `<main>'

make: *** [rdoc] Error 1



-- 
https://bugs.ruby-lang.org/