cucumber/cucumber — Issue #210: Running Cucumber 1.1.4 as rake task raises an exception
Author: dimitri-lo2u
Created: 2012-01-06 08:03:32+00:00
State: open

Steps to reproduce:
a) Here is the smallest rakefile that generates the issue
######################
# rakefile.rb
require 'cucumber/rake/task'
Cucumber::Rake::Task.new
######################

b) Used rake command-line:
rake cucumber

c) An NoMethodError exception is raised.
Here is the topmost part of the stack trace:
undefined method `desc' for # (NoMethodError)
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-1.1.4/lib/cucumber/rake/task.rb:191:in `define_task'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/cucumber-1.1.4/lib/cucumber/rake/task.rb:187 :in `initialize'
C:/Ruby192/lib/ruby/site_ruby/Cucumis/lab/rakefile.rb:7:in `new'

Platform:
-Cucumber: 1.1.4
-Rake: 0.8.7
-Ruby: MRI ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
-OS: Windows Vista Ultimate SP2