diff options
| author | Faisal N. Jawdat | 2010-05-28 14:19:27 -0700 | 
|---|---|---|
| committer | Max Howell | 2010-05-29 12:45:06 +0100 | 
| commit | 72b946a567823bc703008b761adf41e4ef6ad4e1 (patch) | |
| tree | 17a916b6353b4c15fd30bfdcf067e5cac3619f0a | |
| parent | d30f084024ff7d10a0da2677c0c54147028503ab (diff) | |
| download | homebrew-72b946a567823bc703008b761adf41e4ef6ad4e1.tar.bz2 | |
ruby formula can install from 1.9.2 dev branch by using --HEAD flag
| -rw-r--r-- | Library/Formula/ruby.rb | 9 | 
1 files changed, 6 insertions, 3 deletions
| diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb index fcdf87013..48acdaaa7 100644 --- a/Library/Formula/ruby.rb +++ b/Library/Formula/ruby.rb @@ -3,9 +3,10 @@ require 'formula'  # TODO de-version the include and lib directories  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/' -  @md5='9fc5941bda150ac0a33b299e1e53654c' +  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'    depends_on 'readline' @@ -26,6 +27,8 @@ class Ruby <Formula      args << "--program-suffix=19" if ARGV.include? "--with-suffix" +    system "autoconf" unless File.exists? 'configure' +      system "./configure", *args      system "make"      system "make install" | 
