Skip to content

Instantly share code, notes, and snippets.

@Peeja
Created January 12, 2012 14:09
Show Gist options
  • Save Peeja/1600706 to your computer and use it in GitHub Desktop.
Save Peeja/1600706 to your computer and use it in GitHub Desktop.
$ rake fail succeed
Failing...
rake aborted!
Tasks: TOP => fail
(See full trace by running task with --trace)
task :fail do
puts "Failing..."
fail
end
task :succeed do
puts "Success!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment