Skip to content

Instantly share code, notes, and snippets.

@hoff2
Created April 13, 2013 13:58
Show Gist options
  • Save hoff2/5378506 to your computer and use it in GitHub Desktop.
Save hoff2/5378506 to your computer and use it in GitHub Desktop.
Rails 3.2.13, Ruby 2.0.0-p0, "rake cucumber:ok" spits out this annoying stack trace at the end if there are failing steps. "cucumber features" does not.
1 scenario (1 failed)
5 steps (1 failed, 3 skipped, 1 passed)
0m0.438s
rake aborted!
Command failed with status (1): [/Users/charleshoffman/.rvm/rubies/ruby-2.0...]
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `call'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `sh'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/file_utils_ext.rb:37:in `sh'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@aggress/gems/cucumber-1.2.5/lib/cucumber/rake/task.rb:104:in `run'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@aggress/gems/cucumber-1.2.5/lib/cucumber/rake/task.rb:193:in `block in define_task'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@global/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@aggress/bin/ruby_noexec_wrapper:14:in `eval'
/Users/charleshoffman/.rvm/gems/ruby-2.0.0-p0@aggress/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => cucumber:ok
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment