Created
May 15, 2015 13:47
-
-
Save dmgarland/a7949613dcccfc45584d to your computer and use it in GitHub Desktop.
Here's a monkey patch I found on a client project. What does it do? It takes up a day of a Rails developer's time. DONT DO THIS!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require 'rake/task' | |
module Rake | |
class Task | |
alias :orig_execute :execute | |
def execute(args=nil) | |
orig_execute(args) | |
rescue => e | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment