diff options
| author | Jack Nagel | 2014-12-24 12:26:26 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-12-24 12:26:38 -0500 | 
| commit | a2cc616015fd22ec9425c57ce958125204fa21d0 (patch) | |
| tree | 85bd1f602feb07d32daf9d98025ff0a987b1bc07 | |
| parent | 42af2661bddbed9589d08771a67de641169902ed (diff) | |
| download | homebrew-a2cc616015fd22ec9425c57ce958125204fa21d0.tar.bz2 | |
ruby: write operating_system.rb in post_install
| -rw-r--r-- | Library/Formula/ruby.rb | 2 | 
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 | 
