aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/ruby.rb6
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}",