aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/ruby.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb
index 40ebcc8a5..2cceb02c5 100644
--- a/Library/Formula/ruby.rb
+++ b/Library/Formula/ruby.rb
@@ -71,7 +71,9 @@ class Ruby < Formula
system "./configure", *args
system "make"
system "make", "install"
+ end
+ def post_install
# Customize rubygems to look/install in the global gem directory
# instead of in the Cellar, making gems last across reinstalls
(lib/"ruby/#{abi_version}/rubygems/defaults/operating_system.rb").write rubygems_config