Translations: English
Search on Docs:
ActionItem Search:

#1569: db:schema:load fails with Cucumber 0.1.9

Type: BugItem Feature: Infrastructure Tags: colivre
ScheduledFor: N/A Assigned to:   Sites:  
Priority: 0 Status: Pending  

Description of the bug

db:schema:load (and may be other things) fails with Cucumber 0.1.9 with this error:
$ rake db:schema:load
rake aborted!
undefined method `fork=' for #<Cucumber::Rake::Task:0x488ceae8>

As i see, the fork= method do not exists on this version, and in the doc we see the default fork value is true.

As i see, the error happens on this expression: t.fork = true on ...noosfero/lib/tasks/cucumber.rake file, where t is a Cucumber::Rake::Task.

So, the solution to support Cucumber 0.1.9 is replace:
  • this: t.fork = true
  • by this: t.fork = true if t.respond_to?('fork=')
on ...noosfero/lib/tasks/cucumber.rake file

-- AurelioAHeckert -- 22 Jun 2010
Add comment
You need to login to be able to comment.

ActionItemForm edit

Title db:schema:load fails with Cucumber 0.1.9
ActionItemType BugItem
Priority Low
Tags colivre
Feature Infrastructure
ScheduledFor N/A
Status Pending
Ticket SAC:
Topic revision: r1 - 22 May 2015, UnknownUser

irc Talk with Devs Now!

Copyright © 2007-2019 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres