Cucumber broke my rake tasks! 0.3.5

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

Andy

Andrew P. wrote:

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.

-Ben

file in gists)

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

lines added to the tasks none of my steps are recognised (see second

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

Sorry for being a bit slow, but what would you like me to set it to??

2009/5/18 aslak hellesoy [email protected]:

2009/5/15 aslak hellesoy [email protected]:

file in gists)

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.

Thanks

Andrew

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs