Forum: Ruby-dev [ruby-trunk - Bug #7366][Assigned] cannot 'make install' when --enable-doc

Posted by usa (Usaku NAKAMURA) (Guest)
on 2012-11-16 01:10
(Received via mailing list)
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.
Posted by naruse (Yui NARUSE) (Guest)
on 2012-11-16 06:39
(Received via mailing list)
Issue #7366 has been updated by naruse (Yui NARUSE).

Status changed from Assigned to Closed


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

Author: usa (Usaku NAKAMURA)
Status: Closed
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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.