guides icon indicating copy to clipboard operation
guides copied to clipboard

Gem development: Cucumber not running executable in bin

Open entrity opened this issue 12 years ago • 1 comments

In regards to gem-development tutorial, under Testing a command line interface (https://github.com/radar/guides/blob/master/gem-development.md#testing-a-command-line-interface):

I suppose it's my error, not the tutorial's, but perhaps you can help me in either case:

When I call bundle exec cucumber features/, I don't get an error reading 'pending', nor any yellow output. Rather, the task appears to run to completion, terminating with:

2 scenarios (2 failed)
4 steps (2 failed, 2 skipped)

I went ahead and created bin/foodie anyway, but it doesn't get run. (No print "nothing" executed.)

I'm using Windows7. I've tried this in the default shell as well as using msys. Is that my problem?

entrity avatar Jun 22 '12 22:06 entrity

Well, I'm about 4 years too late to the game, but I just ran into the same problem on Ubuntu 14.04. My issue was spaces in my executable path. I removed the spaces from my directory name and the problem was solved.

Oh yeah, and the guide says to put the foodie* executable in the exe directory. I put mine bin.

RaphaelDeLaGhetto avatar Feb 20 '16 04:02 RaphaelDeLaGhetto