[rspec-users] Cucumber broke my rake tasks! 0.3.5

aslak hellesoy aslak.hellesoy at gmail.com
Mon May 18 08:09:12 EDT 2009


> 2009/5/15 aslak hellesoy <aslak.hellesoy at gmail.com>:
>>> Andrew Premdas wrote:
>>>>
>>>> Seem to be having a problem with the new releases 0.3.5 which
>>>> completely breaks my rake tasks http://gist.github.com/112149.
>>>>
>>>> WIth the
>>>>
>>>>  t.fork = true # Explicitly fork for cucumber 0.3.4 and rails
>>>>
>>>> lines added to the tasks none of my steps are recognised (see second
>>>> file in gists)
>>>>
>>>> Without t.fork line I get an error  < undefined method `differ=' >
>>>> (trace in third file in gist)
>>>>
>>>> Running similar profiles using cucumber -p seems to work fine
>>>>
>>>> All best
>>>>
>>>>
>>>
>>>
>>> This looks similar to a ticket James opened earlier:
>>> https://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/325-cucumber-v-035-load-behaviour-change
>>>
>>> Please follow that ticket and comment there if you agree.
>>>
>>
>> Can you all try to specify the lib attribute of the rake task? I think
>> that has something to do with this.....
>>
>> Aslak
>
> Sorry I don't understand what you mean by this, could you be more
> specific, perhaps a command to run or some more detail.
>

The Rake task has a lib attribute (t.libs = ...). Could you try to set that?

http://rdoc.info/projects/aslakhellesoy/cucumber
http://rdoc.info/rdoc/aslakhellesoy/cucumber/blob/50d4738d4dbfda681333d49dcb2f4d27d91a0156/Cucumber/Rake/Task.html

Aslak

> Thanks
>
> Andrew
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list