Issue #7366 has been reported by usa (Usaku NAKAMURA).

----------------------------------------
Bug #7366: cannot 'make install' when --enable-doc
https://bugs.ruby-lang.org/issues/7366

Author: usa (Usaku NAKAMURA)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: build
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-16 trunk 37667)


After r37664 (rake 0.9.3), cannot make install when --enable-doc.

 installing default gems:      C:/ruby-trunk/lib/ruby/gems/2.0.0 (cche, doc, gems, specifications)
                               bigdecimal 1.1.0
                               io-console 0.3
                               json 1.7.1
                               minitest 3.4.0
                               psych 1.3.4
 ../ruby/tool/rbinstall.rb:591:in `spec_source': undefined method `dump' for n
l:NilClass (NoMethodError)
         from ../ruby/tool/rbinstall.rb:584:in `gemspec'
         from ../ruby/tool/rbinstall.rb:641:in `block (2 levels) in <main>'
         from ../ruby/tool/rbinstall.rb:640:in `each'
         from ../ruby/tool/rbinstall.rb:640:in `block in <main>'
         from ../ruby/tool/rbinstall.rb:674:in `call'
         from ../ruby/tool/rbinstall.rb:674:in `block (2 levels) in <main>'
         from ../ruby/tool/rbinstall.rb:671:in `each'
         from ../ruby/tool/rbinstall.rb:671:in `block in <main>'
         from ../ruby/tool/rbinstall.rb:667:in `each'
         from ../ruby/tool/rbinstall.rb:667:in `<main>'

The reason is that rbinstall.rb expects there is a line like VERSION='X.X.X.X'.
(see tool/rbinstall.rb:603)
But now lib/rake/version.rb is changed, so rbinstall cannot find its version.

I think this is not rake's problem but rbinstall's.


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