diff options
| author | Misty De Meo | 2014-06-29 11:29:42 -0700 |
|---|---|---|
| committer | Misty De Meo | 2014-06-30 10:47:04 -0700 |
| commit | eaab902eb035977877f5bd962e97aa60e6f2c3bb (patch) | |
| tree | 402ec6502af1588b4ed2c56e6c46982ae50a2fe8 | |
| parent | 8ef06725cf0b1dfa504515f4f7405798e7da846b (diff) | |
| download | homebrew-eaab902eb035977877f5bd962e97aa60e6f2c3bb.tar.bz2 | |
ruby: alias gem module methods to avoid warnings
| -rw-r--r-- | Library/Formula/ruby.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb index bf11e77c7..612396c85 100644 --- a/Library/Formula/ruby.rb +++ b/Library/Formula/ruby.rb @@ -72,6 +72,12 @@ class Ruby < Formula def rubygems_config; <<-EOS.undent module Gem + class << self + alias :old_default_dir :default_dir + alias :old_default_path :default_path + alias :old_default_bindir :default_bindir + end + def self.default_dir path = [ "#{HOMEBREW_PREFIX}", |
