diff options
| author | Xu Cheng | 2014-12-25 20:51:10 +0800 | 
|---|---|---|
| committer | Jack Nagel | 2014-12-25 11:05:59 -0500 | 
| commit | 9374cb58d6c6c9fc8fa6e19d1a21c1c09c3f2739 (patch) | |
| tree | 7a43b644227ae6c12ee8034d94f0e411dc28fe7a /Library/Formula/ruby.rb | |
| parent | 44f279096d70aff9d070867afdb05bbfa2cd1a6d (diff) | |
| download | homebrew-9374cb58d6c6c9fc8fa6e19d1a21c1c09c3f2739.tar.bz2 | |
ruby 2.2.0
Closes #35250.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/ruby.rb')
| -rw-r--r-- | Library/Formula/ruby.rb | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb index e8bd7fe06..9ba075568 100644 --- a/Library/Formula/ruby.rb +++ b/Library/Formula/ruby.rb @@ -2,8 +2,8 @@ require "formula"  class Ruby < Formula    homepage "https://www.ruby-lang.org/" -  url "http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.5.tar.bz2" -  sha256 "0241b40f1c731cb177994a50b854fb7f18d4ad04dcefc18acc60af73046fb0a9" +  url "http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.tar.bz2" +  sha256 "1c031137999f832f86be366a71155113675b72420830ce432b777a0ff4942955"    bottle do      revision 1 @@ -18,7 +18,7 @@ class Ruby < Formula    end    option :universal -  option "with-suffix", "Suffix commands with '21'" +  option "with-suffix", "Suffix commands with '22'"    option "with-doc", "Install documentation"    option "with-tcltk", "Install with Tcl/Tk support" @@ -49,7 +49,7 @@ class Ruby < Formula        args << "--with-arch=#{Hardware::CPU.universal_archs.join(",")}"      end -    args << "--program-suffix=21" if build.with? "suffix" +    args << "--program-suffix=22" if build.with? "suffix"      args << "--with-out-ext=tk" if build.without? "tcltk"      args << "--disable-install-doc" if build.without? "doc"      args << "--disable-dtrace" unless MacOS::CLT.installed? @@ -81,7 +81,7 @@ class Ruby < Formula    end    def abi_version -    "2.1.0" +    "2.2.0"    end    def rubygems_config; <<-EOS.undent @@ -143,7 +143,7 @@ class Ruby < Formula        end        def self.ruby -        "#{opt_bin}/ruby#{"21" if build.with? "suffix"}" +        "#{opt_bin}/ruby#{"22" if build.with? "suffix"}"        end      end      EOS  | 
