Bug 683567 - Echoe fails with undefined method 'desc' message with rake 0.9.0-0.3.beta.4
Summary: Echoe fails with undefined method 'desc' message with rake 0.9.0-0.3.beta.4
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-echoe
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Fojtik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-09 17:59 UTC by Marek Goldmann
Modified: 2011-08-18 16:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-18 16:55:42 UTC
Type: ---


Attachments (Terms of Use)
Workaround patch (295 bytes, application/octet-stream)
2011-03-09 17:59 UTC, Marek Goldmann
no flags Details

Description Marek Goldmann 2011-03-09 17:59:56 UTC
Created attachment 483277 [details]
Workaround patch

Description of problem:

Latest package in Rawhide (rubygem-echoe-4.3.1-3.fc15) does not work with latest rubygem-rake (0.9.0-0.3.beta.4.fc15).

Version-Release number of selected component (if applicable):

rubygem-echoe-4.3.1-3.fc15

How reproducible:

Always.

Steps to Reproduce:
Try to create simple echoe task, like:

require 'rubygems'  
require 'echoe'

Echoe.new("boxgrinder-core") do |p|
  p.project     = "BoxGrinder"
  p.author      = "BoxGrinder Team"
end

Actual results:

rake/gempackagetask is deprecated.  Use rubygems/package_task instead
rake/rdoctask is deprecated.  Use rdoc/task instead (in RDoc 2.4.2+)
rake aborted!
undefined method `desc' for #<Echoe:0x7f0ff65d50b8>
/usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:420:in `define_tasks'
/usr/lib/ruby/gems/1.8/gems/echoe-4.3.1/lib/echoe.rb:299:in `initialize'

Expected results:

No error.

Additional info:

Adding require to echoe.rb:

require 'rake/dsl'

is a workaround. Attached patch.

Comment 1 Marek Goldmann 2011-08-18 16:55:42 UTC
Seems to be fixed in latest version.


Note You need to log in before you can comment on or make changes to this bug.