evan / echoe

A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment
http://fauna.github.com/fauna/echoe
Academic Free License v3.0
82 stars 17 forks source link

undefined method 'desc' for #<Echoe... on rake manifest #12

Closed wooki closed 13 years ago

wooki commented 13 years ago

I think it must be a problem with rake or gems version or something like that.

I have...

ruby v 1.8.7 rake v 0.9.0 gem v 1.8.4 echoe v 4.5.6

with the following Rakefile.

require 'echoe'

Echoe.new('gemname') do | g |

g.author = "Jim Rowe" g.description = "description" g.summary = "summary" g.email = 'email@email.com' g.url = 'http://www.github.com' g.runtime_dependencies = ["builder", "zip"] end

And I get the following error running: rake manifest --trace

rake/gempackagetask is deprecated. Use rubygems/package_task instead rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+) rm: cannot remove log-*': No such file or directory NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01. Gem::Specification#has_rdoc= called from /usr/lib/ruby/gems/1.8/gems/echoe-4.5.6/lib/echoe.rb:398. rake aborted! undefined methoddesc' for #Echoe:0xb75b0128 /usr/lib/ruby/gems/1.8/gems/echoe-4.5.6/lib/echoe.rb:422:in define_tasks' /usr/lib/ruby/gems/1.8/gems/echoe-4.5.6/lib/echoe.rb:301:ininitialize' /public/aehost/Rakefile:5:in new' /public/aehost/Rakefile:5 /usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/rake_module.rb:25:inload' /usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/rake_module.rb:25:in load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:495:inraw_load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:78:in load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:129:instandard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:77:in load_rakefile' /usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:61:inrun' /usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:129:in standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:59:inrun' /usr/lib/ruby/gems/1.8/gems/rake-0.9.0/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19

Hope you can see what is going on there. Thanks.

evan commented 13 years ago

Fixed in 4.6.0.