I have searched for an answer to this this and clearly I am missing something

50 views
Skip to first unread message

gilbert beveridge

unread,
Nov 17, 2012, 8:54:01 PM11/17/12
to guar...@googlegroups.com
When I run the command below guard complains that it can't find a cucumber task what the heck and I doing wrong ?
Thanks in advance. 

→ guard 'cucumber', :cli => '--tags ~@manual ~@wip'
Could not find task "cucumber,".


my Guardfile looks like this 
# A sample Guardfile

guard 'cucumber' do
  watch(%r{^features/.+\.feature$})
  watch(%r{^features/support/.+$})          { 'features' }
  watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
end

Thibaud Guillaume-Gentil

unread,
Nov 18, 2012, 7:35:12 AM11/18/12
to guar...@googlegroups.com
Hi,

The best is to open an issue on the guard-cucumber repository by following the guideline:

https://github.com/guard/guard/blob/master/CONTRIBUTING.md#file-an-issue

Thanks!

Rémy Coutable

unread,
Nov 18, 2012, 1:42:01 PM11/18/12
to guar...@googlegroups.com, guar...@googlegroups.com
Hi,

The error is self-explanatory, you're running "guard 'cucumber' ..." but the Guard binary doesn't have such command. Simply run Guard with "guard start".

I think you can find this information in the README! ;-)

Rémy

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages