Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Module.prepend instead of alias_method to patch Rake
Libraries like Sentry that also patch Rake conflict with Airbrussh, due to our use of `alias_method`. Fix by using `Module.prepend` instead, when it is available (Ruby >= 2.0). Fixes #151
- Loading branch information
1 parent
65e611b
commit 6a9b7ac
Showing
1 changed file
with
19 additions
and
3 deletions.
There are no files selected for viewing
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