aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-12-02 12:41:23 +0000
committerMax Howell2009-12-02 12:41:23 +0000
commit90ca0085e5d2eab9dc63427259a5aa6f006f49fb (patch)
tree9325c1e45a7e267f4f8d9d19730bd2b9045f304c /Library
parente9b0a335621382f92733e031fd5057b6dbf66cd2 (diff)
downloadhomebrew-90ca0085e5d2eab9dc63427259a5aa6f006f49fb.tar.bz2
Warn users that gems can be troublesome with our formula
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ruby.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb
index 56cbc32d9..aff808e9d 100644
--- a/Library/Formula/ruby.rb
+++ b/Library/Formula/ruby.rb
@@ -19,6 +19,13 @@ class Ruby <Formula
system "make install"
end
+ def caveats; <<-EOS
+If you install gems with the RubyGems installed with this formula they will
+to this formula's prefix. This needs to be fixed, as for example, upgrading
+Ruby will lose all your gems.
+ EOS
+ end
+
def skip_clean? path
# TODO only skip the clean for the files that need it, we didn't get a
# comment about why we're skipping the clean, so you'll need to figure