aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rbenv-gem-rehash.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/rbenv-gem-rehash.rb b/Library/Formula/rbenv-gem-rehash.rb
index 75dbdb231..d34b73ce6 100644
--- a/Library/Formula/rbenv-gem-rehash.rb
+++ b/Library/Formula/rbenv-gem-rehash.rb
@@ -7,9 +7,10 @@ class RbenvGemRehash < Formula
depends_on 'rbenv'
- def patches
- # Fixes issues with Homebrew-managed git-etc alpha.
- 'https://github.com/sstephenson/rbenv-gem-rehash/commit/0756890cfd9c7bbbdde38560fe81626a0c5769bd.patch'
+ # Fixes issues with Homebrew-managed git-etc alpha.
+ patch do
+ url "https://github.com/sstephenson/rbenv-gem-rehash/commit/0756890cfd9c7bbbdde38560fe81626a0c5769bd.patch"
+ sha1 "8b3148da00ac9eb5802ef9fab5ec9d086f7c0946"
end
def install