aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/ruby.rb')
-rw-r--r--Library/Formula/ruby.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb
index 2817b9dbb..53269b0c1 100644
--- a/Library/Formula/ruby.rb
+++ b/Library/Formula/ruby.rb
@@ -6,17 +6,17 @@ class Ruby <Formula
url 'http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p378.tar.gz'
homepage 'http://www.ruby-lang.org/en/'
head 'http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_2/', :using => :svn
- md5 '9fc5941bda150ac0a33b299e1e53654c' unless ARGV.include? '--HEAD'
+ md5 '9fc5941bda150ac0a33b299e1e53654c'
depends_on 'readline'
-
+
def options
[
["--with-suffix", "Add a 19 suffix to commands"],
["--with-doc", "Install with the Ruby documentation"],
]
end
-
+
def install
fails_with_llvm
@@ -35,14 +35,14 @@ class Ruby <Formula
system "make install-doc" if ARGV.include? "--with-doc"
end
-
+
def caveats; <<-EOS
If you install gems with the RubyGems installed with this formula they will
be installed 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