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
'
from ../ruby/tool/rbinstall.rb:640:in `each'
from ../ruby/tool/rbinstall.rb:640:in `block in '
from ../ruby/tool/rbinstall.rb:674:in `call'
from ../ruby/tool/rbinstall.rb:674:in `block (2 levels) in
'
from ../ruby/tool/rbinstall.rb:671:in `each'
from ../ruby/tool/rbinstall.rb:671:in `block in '
from ../ruby/tool/rbinstall.rb:667:in `each'
from ../ruby/tool/rbinstall.rb:667:in `'
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.
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
'
from ../ruby/tool/rbinstall.rb:640:in `each'
from ../ruby/tool/rbinstall.rb:640:in `block in '
from ../ruby/tool/rbinstall.rb:674:in `call'
from ../ruby/tool/rbinstall.rb:674:in `block (2 levels) in
'
from ../ruby/tool/rbinstall.rb:671:in `each'
from ../ruby/tool/rbinstall.rb:671:in `block in '
from ../ruby/tool/rbinstall.rb:667:in `each'
from ../ruby/tool/rbinstall.rb:667:in `'
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.