I have a problem using Bundler and Cucumber with Rails 3.
When I run $ rake cucumber
I get the following output:
bundle exec /usr/local/bin/r
I am also seeing the same problem. With a little hunting I could figure where this error is coming but still don't know how to fix it.
The issue is that the "bundle exec ..." shell call is exiting with status code "1". That is an error for the rake.rb script and therefore it is throwing those lines. Looks like it is some kind of a false alarm only.
Also, this happens only when all the scenarios pass. If there is even a single failure, you will not see this error.