Topic: rake aborted! Command failed with status (1):

I'm reading the RSpec book.    It creates a showtimes app for movie showtimes, etc.

the Cucumber feature file looks like this:

Feature: Showtime Descriptions

  So that I can find movies that fit my schedule
  As a movie goer
  I want to see accurate and concise showtimes

  @wip
  Scenario: Show minutes for times not ending with 00
    Given a movie
    When I set the showtime to "2007-10-10" at "2:15pm"
    Then the showtime description should be "October 10, 2007 (2:15pm)"

  Scenario: Hide minutes for times ending with 00
    Given a movie
    When I set the showtime to "2007-10-10" at "2:00pm"
    Then the showtime description should be "October 10, 2007 (2pm)"

now when I run rake cucumber:wip all scenarios pass but then rake gives me this error message:

rake aborted!
Command failed with status (1): [/usr/local/bin/ruby -S bundle exec cucumbe...]

But if I remove the @wip tag from the feature file and run rake cucumber everything passes with no rake errors.

thanks,
mike

Last edited by mikeglaz (2012-06-04 03:52:44)

Re: rake aborted! Command failed with status (1):

Now I noticed if I have two .feature files rake cucumber again throws that same error.  But if I use bundle exec cucumber then everything runs fine.

mike